Skip to content

Commit 54f3a35

Browse files
authored
chore(doc): remove horizontal scroll in sidebar (#2738)
Fix #2667
1 parent f18da99 commit 54f3a35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docgen/src/stylesheets/components/_sidebar.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ $sidebarTopOffset: 60px;
22

33
.sidebar
44
width: $sidebar-width
5-
overflow: scroll
65
height: calc(100vh - 56px - #{$sidebarTopOffset})
76
margin-top: $sidebarTopOffset
87
padding-top: 30px
98
padding-bottom: 30px
9+
overflow-y: scroll;
10+
overflow-x: hidden;
1011

1112
&.fixed
1213
position: fixed

0 commit comments

Comments
 (0)