Merge pull request #143 from exciler/issue_141

Bugfix: Header menu icons not sticky with expanded sidebar
This commit is contained in:
OpenXE-ERP 2024-05-07 10:21:34 +02:00 committed by GitHub
commit a84af0b890
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;