Fixes the overflow in the docs' version switcher

hides the scroll bar from the overflow switcher and displays a vertical scroll when the panel is expanded.
This commit is contained in:
BK authored and GitHub committed 2022-05-15 14:13:54 -07:00
1 parent f2a32ae0f6
commit 5e648c29ed
1 file changed
+4 -1
+4 -1
View File
@@ -542,10 +542,13 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before {
left: auto; left: auto;
max-height: 600px; max-height: 600px;
max-width: 300px; max-width: 300px;
overflow: scroll; overflow: hidden;
right: 20px; right: 20px;
width: auto; width: auto;
} }
.rst-versions.rst-badge.shift-up {
overflow-y: scroll;
}
.rst-versions.rst-badge .icon-book { .rst-versions.rst-badge .icon-book {
float: none float: none
} }