Skip to content

Commit 7c98fbc

Browse files
jessetanBlendify
authored andcommitted
Allow versions popup to scroll (#576)
* Make rst-versions scrollable when expanded * Remove top border * Do not use entire height unless necessary
1 parent 24a7000 commit 7c98fbc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sass/_theme_badge.sass

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
position: fixed
33
bottom: 0
44
left: 0
5+
overflow-y: scroll
56
width: $nav-desktop-width
67
color: $section-background-color
78
background: darken($menu-background-color, 8%)
8-
border-top: solid 10px $menu-background-color
99
font-family: $base-font-family
1010
z-index: $z-index-tray
1111
a
@@ -34,6 +34,8 @@
3434
&.rst-active-old-version
3535
background-color: $yellow
3636
color: $black
37+
&.shift-up
38+
max-height: 100%
3739
&.shift-up .rst-other-versions
3840
display: block
3941
.rst-other-versions

0 commit comments

Comments
 (0)