diff --git a/docs/assets/style.css b/docs/assets/style.css index 649f84b7aa3..25b8c2e86ff 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -540,12 +540,16 @@ ul.fas li .fa-large:before, ul.fas li .fa-large:before { bottom: 20px; display: block; left: auto; + height: calc(100vh - 100px); 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 } diff --git a/docs/template.html b/docs/template.html index 841999281ed..c5bdd64f486 100644 --- a/docs/template.html +++ b/docs/template.html @@ -500,6 +500,7 @@