From bd8bdc6a5024a3e9bcb0837e32a9548587fa2a73 Mon Sep 17 00:00:00 2001 From: Jack Hickey <133868041+nginx-jack@users.noreply.github.com> Date: Mon, 7 Jul 2025 10:17:14 +0100 Subject: [PATCH] Sidebar: Fix scroll A previous commit added a sidebar__content__wrapper which caused the nested div, which previously handled scrolling, to no longer function as expected. This moved the scrolling logic up to the wrapper div instead. --- assets/css/v2/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/css/v2/style.css b/assets/css/v2/style.css index e0008af..f0817aa 100644 --- a/assets/css/v2/style.css +++ b/assets/css/v2/style.css @@ -613,7 +613,7 @@ ol li:last-child { } } - .sidebar__content { + .sidebar__content__wrapper { overflow-y: auto; min-height: 0; /* allows space for scrollbar */ @@ -1157,7 +1157,6 @@ nav.sidebar.sidebar__mobile-open { .sidebar__content { padding: 0.5rem 0 0.4rem 0; - margin-right: 0.25rem; } .sidebar__ul {