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
2022-05-15 14:13:54 -07:00
committed by GitHub
parent f2a32ae0f6
commit 5e648c29ed

View File

@@ -542,10 +542,13 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before {
left: auto;
max-height: 600px;
max-width: 300px;
overflow: scroll;
overflow: hidden;
right: 20px;
width: auto;
}
.rst-versions.rst-badge.shift-up {
overflow-y: scroll;
}
.rst-versions.rst-badge .icon-book {
float: none
}