From e80cc97a0f3fdf668d3cbbb55c9d47d246db06e3 Mon Sep 17 00:00:00 2001 From: Andreas Palm Date: Fri, 3 May 2024 11:39:48 +0200 Subject: [PATCH] Bugfix: Header menu icons not sticky with expanded sidebar --- www/themes/new/css/styles.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/themes/new/css/styles.css b/www/themes/new/css/styles.css index c8964ca4..0f5709b5 100644 --- a/www/themes/new/css/styles.css +++ b/www/themes/new/css/styles.css @@ -878,12 +878,15 @@ ul.menu > li > a { } #main.fixed .menu-wrapper { - width: calc(100% - 72px); + width: calc(100% - var(--sidebar-not-collapsed-width)); z-index: 950; position: fixed; top: 0; border-bottom: 3px solid #2DCA73; } +#sidebar.collapsed + #main.fixed .menu-wrapper { + width: calc(100% - var(--sidebar-collapsed-width)); +} #main.fixed .menu-wrapper #current{ padding-top: 10px;