Skip to content

Commit

Permalink
Allow versions popup to scroll (#576)
Browse files Browse the repository at this point in the history
* Make rst-versions scrollable when expanded

* Remove top border

* Do not use entire height unless necessary
  • Loading branch information
jessetan authored and Blendify committed Feb 17, 2018
1 parent 24a7000 commit 7c98fbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sass/_theme_badge.sass
Expand Up @@ -2,10 +2,10 @@
position: fixed
bottom: 0
left: 0
overflow-y: scroll
width: $nav-desktop-width
color: $section-background-color
background: darken($menu-background-color, 8%)
border-top: solid 10px $menu-background-color
font-family: $base-font-family
z-index: $z-index-tray
a
Expand Down Expand Up @@ -34,6 +34,8 @@
&.rst-active-old-version
background-color: $yellow
color: $black
&.shift-up
max-height: 100%
&.shift-up .rst-other-versions
display: block
.rst-other-versions
Expand Down

0 comments on commit 7c98fbc

Please sign in to comment.