Skip to content

Commit 7ad8141

Browse files
committed
CSS: make top of flyout menu sticky
1 parent 552293d commit 7ad8141

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

media/css/readthedocs-doc-embed.css

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
overscroll-behavior: contain;
1919
}
2020

21+
.rst-versions.shift-up .rst-current-version {
22+
position: sticky;
23+
top: 0;
24+
}
25+
2126
.rst-other-versions {
2227
text-align: left;
2328
}

0 commit comments

Comments
 (0)