From e8e99c04aa516f74ab292b9e6557599270a8a279 Mon Sep 17 00:00:00 2001 From: spleenftw Date: Fri, 29 May 2026 16:20:10 +0200 Subject: [PATCH] fix sidebar --- css/style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/css/style.css b/css/style.css index 742b823..5b0e631 100644 --- a/css/style.css +++ b/css/style.css @@ -849,6 +849,21 @@ img.nav-svg-icon { padding-bottom: 0; } +/* The navigation plugin is wrapped in .js-random-nav, so it matches + .plugin:last-child even when it isn't last — restore its divider/spacing. */ +.js-random-nav .plugin { + border-bottom: 1px solid var(--border-subtle); + margin-bottom: var(--space-md); + padding-bottom: var(--space-md); +} + +/* …unless the wrapped navigation really is the last item in the sidebar. */ +.sidebar-container > .js-random-nav:last-child .plugin { + border-bottom: none; + margin-bottom: 0; + padding-bottom: 0; +} + .plugin-label { font-size: var(--font-size-xs); font-weight: 700;