From 5e648c29edd4a11c0cedb88c0c3c6798f7081791 Mon Sep 17 00:00:00 2001 From: BK <4480581+Bilal-io@users.noreply.github.com> Date: Sun, 15 May 2022 14:13:54 -0700 Subject: [PATCH] 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. --- docs/assets/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/assets/style.css b/docs/assets/style.css index 649f84b7a..7c7b8db1b 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -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 }