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,24 +532,30 @@ html.no-js #toggle-sidebar {
margin-right: 0; 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 {
background-color: @menu-bg-color; &:not(.bottom-up)::after {
border-bottom: 1px solid @gray-light; background-color: @menu-bg-color;
border-top-left-radius: .25em; }
border-top-right-radius: .25em;
span { .nav-item-header {
padding-left: 1.375em; background-color: @menu-bg-color;
padding-right: 0.545em; border-bottom: 1px solid @gray-light;
height: @nav-item-height; border-top-left-radius: .25em;
line-height: @nav-item-height; border-top-right-radius: .25em;
display: block;
font-weight: @font-weight-bold; span {
.text-ellipsis(); padding-left: 1.375em;
padding-right: 0.545em;
height: @nav-item-height;
line-height: @nav-item-height;
display: block;
> .badge { font-weight: @font-weight-bold;
display: none; .text-ellipsis();
> .badge {
display: none;
}
} }
} }
} }