From cc841570eccbfcea23d1f090d4160be5e9b2d4cc Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 18 Jul 2026 12:59:37 +0200 Subject: [PATCH] fix(ui): only apply always-displayed display css rules when the menu is displayed --- src/scss/menu.scss | 10 ++++++++++ templates/css/stylesheet.php | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/scss/menu.scss b/src/scss/menu.scss index 097c002..29685d2 100644 --- a/src/scss/menu.scss +++ b/src/scss/menu.scss @@ -363,6 +363,16 @@ right: 0 !important; margin-left: 0 !important; } + + #content { + left: 53px; + width: calc(100% - (var(--body-container-margin) * 2) - 62px); + } + + #content-vue { + width: calc(100% - (var(--body-container-margin) * 2) - 60px); + margin-left: 11px; + } } @media screen and (max-width: 1024px) { diff --git a/templates/css/stylesheet.php b/templates/css/stylesheet.php index 5bdc08b..b670f53 100644 --- a/templates/css/stylesheet.php +++ b/templates/css/stylesheet.php @@ -117,15 +117,3 @@ body[data-theme-light], body[data-theme-light-highcontrast] { font-size: 16px; } - - - #content { - left: 53px; - width: calc(100% - (var(--body-container-margin) * 2) - 62px); - } - - #content-vue { - width: calc(100% - (var(--body-container-margin) * 2) - 60px); - margin-left: 11px; - } -