From 40a55a3e52be6798651fabb67c3fa4b8dc26d6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Thu, 24 Oct 2024 19:56:58 +0200 Subject: [PATCH] menu: fix style for non-main submenus #423 --- assets/css/theme.css | 12 +++++++++--- layouts/partials/version.txt | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/css/theme.css b/assets/css/theme.css index 87b1296699..0ccda83505 100644 --- a/assets/css/theme.css +++ b/assets/css/theme.css @@ -2312,7 +2312,7 @@ article ul > li > input[type="checkbox"]:checked::before { position: relative; } -#R-sidebar ul.space > li > * { +#R-sidebar ul.space li > * { padding-bottom: .125rem; padding-top: .125rem; } @@ -2682,12 +2682,18 @@ body #R-logo svg * { border-inline-end-color: var(--INTERNAL-MENU-SECTION-ACTIVE-CATEGORY-BORDER-color); border-style: solid; border-width: 1px; - padding-bottom: calc( .25rem - var(--bpx1)*1px); padding-left: calc( 1rem - var(--bpx1)*1px); padding-right: calc( 1rem - var(--bpx1)*1px); - padding-top: calc( .25rem - var(--bpx1)*1px); width: calc(100% + var(--bpx1)*1px); } +#R-sidebar ul.morespace.collapsible-menu li.active > a{ + padding-bottom: calc( .25rem - var(--bpx1)*1px); + padding-top: calc( .25rem - var(--bpx1)*1px); +} +#R-sidebar ul.space.collapsible-menu li.active > a{ + padding-bottom: calc( .125rem - var(--bpx1)*1px); + padding-top: calc( .125rem - var(--bpx1)*1px); +} #R-menu-footer { padding-bottom: 1rem; diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 2e696dbec4..9873739637 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.0.1+0938e8bd2e8bce8d47586b5c26e306892fcb70a9 \ No newline at end of file +7.0.1+9797e071ae2d359be854f02d76ac3a9e8cd22f72 \ No newline at end of file