Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make flyout menu scrollable #1297

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/sass/_theme_badge.sass
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
color: $black
&.shift-up
height: auto
max-height: 100%
overflow-y: scroll
max-height: calc(100vh - 50px)
overflow-y: auto
overscroll-behavior: contain
&.shift-up .rst-other-versions
display: block
.rst-other-versions
Expand All @@ -60,7 +61,7 @@
color: $section-background-color
&.rst-badge
width: auto
bottom: 20px
bottom: 50px
right: 20px
left: auto
border: none
Expand All @@ -74,6 +75,8 @@
line-height: 30px
&.shift-up .rst-current-version
text-align: right
position: sticky
top: 0
.fa-book
float: left
.icon-book
Expand Down