Skip to content

Commit cceac68

Browse files
committed
Make the expand/collapse buttons bigger in the new sidebar
There is now a lot more padding around the bottom, left, and right sides of the expand/collapse buttons. This makes them a much easier hit-target than they were before.
1 parent 423b096 commit cceac68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

static/sidebar.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ canjs-sidebar {
136136
border: 0;
137137
color: @link-color;
138138
cursor: pointer;
139+
padding: @gutter/4 @gutter @gutter*2 @gutter*2;
139140
position: absolute;
140-
right: 0;
141+
right: 0 - @gutter;
141142
top: 0;
142143
}
143144
}

0 commit comments

Comments
 (0)