Skip to content

Commit

Permalink
Fix sidebar scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
benhylau committed Nov 29, 2019
1 parent d1f45dd commit 07fa47c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/_sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*/

.sidebar {
font-size: 0.9em;
line-height: 1.3;
min-width: $sidebar-width;
}

Expand Down
6 changes: 4 additions & 2 deletions docs/assets/css/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ a {
padding: 0;
border-right: $sidebar-border;
height: 100%;
overflow: hidden;
//overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
color: $sidebar-color;

.sidebar-main {
height: 100%;
//height: 100%;
background: $navigation-background;
padding: $base-height;
}
Expand Down

0 comments on commit 07fa47c

Please sign in to comment.