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