From 9d01fb80ed4e1b4bb280082a36a79ea499cef304 Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Tue, 27 Aug 2024 23:50:49 +0900 Subject: [PATCH] fix: add min-height for rdt versions area --- static/css/extensions/rtd.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/css/extensions/rtd.css b/static/css/extensions/rtd.css index ead6389..74685c6 100644 --- a/static/css/extensions/rtd.css +++ b/static/css/extensions/rtd.css @@ -59,6 +59,11 @@ border-top: 1px solid var(--sy-c-divider); } +.sy-lside .rst-versions.shift-up .rst-other-versions { + max-height: calc(100vh - 300px); + overflow: auto; +} + .sy-lside .rst-other-versions dt { font-size: 0.68rem; font-weight: 500;