Skip to content

Commit

Permalink
chore(doc): remove horizontal scroll in sidebar (#2738)
Browse files Browse the repository at this point in the history
Fix #2667
  • Loading branch information
bobylito authored Feb 15, 2018
1 parent f18da99 commit 54f3a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docgen/src/stylesheets/components/_sidebar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ $sidebarTopOffset: 60px;

.sidebar
width: $sidebar-width
overflow: scroll
height: calc(100vh - 56px - #{$sidebarTopOffset})
margin-top: $sidebarTopOffset
padding-top: 30px
padding-bottom: 30px
overflow-y: scroll;
overflow-x: hidden;

&.fixed
position: fixed
Expand Down

0 comments on commit 54f3a35

Please sign in to comment.