From f64af4f6a72c447f144811104dbc28f3785333d5 Mon Sep 17 00:00:00 2001 From: Daniel Woste Date: Mon, 9 Dec 2024 20:49:20 +0100 Subject: [PATCH] fix: Hide scrolbar The left sidebar does not show a scrolbar anymore, if the documentation tree fits in the avaialble space. Issue-ref: resolves #42 --- docs/_assets/css/score.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_assets/css/score.css b/docs/_assets/css/score.css index d7af8c2..30486c7 100644 --- a/docs/_assets/css/score.css +++ b/docs/_assets/css/score.css @@ -110,6 +110,12 @@ blockquote { background-color: rgba(0,0,0,0.1); } +/* Left sidebar fix, to hide scrollbar if not needed */ +.bd-sidebar-primary .sidebar-primary-items__end { + margin-bottom: 1em; + margin-top: 0; +} + /* SCORE Background video Source: https://www.imi21.com/background-video-full-screen.php */