Skip to content

Commit

Permalink
CSS: make top of flyout menu sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 25, 2020
1 parent 552293d commit 7ad8141
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions media/css/readthedocs-doc-embed.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
overscroll-behavior: contain;
}

.rst-versions.shift-up .rst-current-version {
position: sticky;
top: 0;
}

.rst-other-versions {
text-align: left;
}
Expand Down

0 comments on commit 7ad8141

Please sign in to comment.