menu.less: Apply same bg-color to the caret in the .nav-item-header

- Change the css specificity so it matches the existing level (hovered menu)
This commit is contained in:
Sukhwinder Dhillon 2025-06-04 08:59:04 +02:00
parent 092571a17b
commit fe6d568345

View File

@ -532,7 +532,12 @@ html.no-js #toggle-sidebar {
margin-right: 0;
}
#layout.sidebar-collapsed #menu .nav-level-1 > .nav-item.hover .nav-level-2 > .nav-item-header {
#layout:not(.minimal-layout).sidebar-collapsed #menu .nav-level-1 > .nav-item.hover > .nav-level-2 {
&:not(.bottom-up)::after {
background-color: @menu-bg-color;
}
.nav-item-header {
background-color: @menu-bg-color;
border-bottom: 1px solid @gray-light;
border-top-left-radius: .25em;
@ -552,6 +557,7 @@ html.no-js #toggle-sidebar {
display: none;
}
}
}
}
#layout:not(.sidebar-collapsed) #menu .nav-level-1 > .nav-item.active .nav-level-2 > li {