Bugfix: Header menu icons not sticky with expanded sidebar

This commit is contained in:
Andreas Palm 2024-05-03 11:39:48 +02:00
parent 640974afc8
commit e80cc97a0f

View File

@ -878,12 +878,15 @@ ul.menu > li > a {
} }
#main.fixed .menu-wrapper { #main.fixed .menu-wrapper {
width: calc(100% - 72px); width: calc(100% - var(--sidebar-not-collapsed-width));
z-index: 950; z-index: 950;
position: fixed; position: fixed;
top: 0; top: 0;
border-bottom: 3px solid #2DCA73; border-bottom: 3px solid #2DCA73;
} }
#sidebar.collapsed + #main.fixed .menu-wrapper {
width: calc(100% - var(--sidebar-collapsed-width));
}
#main.fixed .menu-wrapper #current{ #main.fixed .menu-wrapper #current{
padding-top: 10px; padding-top: 10px;