style(context_menu): improve submenu separator style

This commit is contained in:
Elian Doran 2025-11-29 17:47:26 +02:00
parent a5b84406be
commit 79cd96ade9
No known key found for this signature in database

View File

@ -378,29 +378,15 @@ body.mobile .dropdown-menu {
.dropdown-menu { .dropdown-menu {
--menu-background-color: --menu-submenu-mobile-background-color; --menu-background-color: --menu-submenu-mobile-background-color;
--bs-dropdown-divider-margin-y: 0.25rem;
border-radius: 0; border-radius: 0;
max-height: 0; max-height: 0;
transition: max-height 100ms ease-in; transition: max-height 100ms ease-in;
display: block !important; display: block !important;
&.show { &.show {
max-height: 1000px; max-height: 1000px;
} padding: 0.5rem 0.75rem !important;
.dropdown-item {
background: transparent;
}
}
.dropdown-divider {
visibility: visible;
margin: 0;
height: 3px;
border-top: unset;
background-color: rgba(0, 0, 0, 0.2);
&:after {
content: unset;
} }
} }