patch other-version menu overflow [Fixes #14429] (#14431)

This commit is contained in:
Paul Wackerow 2023-07-24 07:48:18 -07:00 committed by GitHub
parent 89407d253d
commit 4fa48a6eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@
--navHeight: 4.5rem; --navHeight: 4.5rem;
--sideWidth: 300px; --sideWidth: 300px;
--currentVersionHeight: 45px;
text-rendering: geometricPrecision; text-rendering: geometricPrecision;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@ -658,6 +659,8 @@ ul.search .context {
.rst-other-versions { .rst-other-versions {
background: var(--white) !important; background: var(--white) !important;
color: var(--color-a) !important; color: var(--color-a) !important;
max-height: calc(100vh - var(--navHeight) - var(--currentVersionHeight));
overflow-y: scroll;
} }
.rst-other-versions a { .rst-other-versions a {