Skip to content

Commit c439c8b

Browse files
committed
Increase draggable area when the sidebar is collapsed
1 parent 23f05bd commit c439c8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/sidebar-mobile/sidebar-mobile-style.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33

44
.sidebar-mobile {
55
position: fixed;
6-
width: 295px;
6+
width: 300px;
77
height: 100vh;
88
z-index: 100;
99
top: 0;
1010
overflow-y: auto;
1111
overflow-x: hidden;
1212
-webkit-overflow-scrolling: touch;
1313
transform: translate3D(-100%, 0, 0);
14+
transform: translate3D(calc(-100% + 5px), 0, 0);
1415
transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
1516

1617
@include break {
@@ -48,7 +49,7 @@
4849
position:absolute;
4950
cursor:pointer;
5051
right: 22px;
51-
top: 28px;
52+
top: 22px;
5253
font-size: 1.3em;
5354
background: getColor(denim);
5455
color: getColor(white);

0 commit comments

Comments
 (0)