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:
1 file changed
+4
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user