Skip to content

Commit

Permalink
Don't show scrollbar if there's nothing to scroll
Browse files Browse the repository at this point in the history
Fix readthedocs#200

Only tested with Firebug, didn't bother to install SASS.
  • Loading branch information
untitaker committed Jun 5, 2015
1 parent 9779e08 commit a6382dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@
left: 0
padding-bottom: 2em
width: $nav-desktop-width
overflow-x: hidden
overflow-y: scroll
overflow: auto
min-height: 100%
background: $menu-background-color
z-index: $z-index-popover
Expand Down

0 comments on commit a6382dc

Please sign in to comment.