style(mobile/context_menu): improve submenu style

This commit is contained in:
Elian Doran 2025-11-28 20:57:42 +02:00
parent 27d5009486
commit 263a96e8b7
No known key found for this signature in database

View File

@ -163,7 +163,6 @@ body.desktop .dropdown-submenu .dropdown-menu {
} }
.dropdown-item, .dropdown-item,
body.mobile .dropdown-submenu .dropdown-toggle,
.excalidraw .context-menu .context-menu-item { .excalidraw .context-menu .context-menu-item {
--menu-item-start-padding: 8px; --menu-item-start-padding: 8px;
--menu-item-end-padding: 22px; --menu-item-end-padding: 22px;
@ -359,6 +358,20 @@ body.mobile .dropdown-menu {
.dropdown-divider { .dropdown-divider {
visibility: hidden; visibility: hidden;
} }
.dropdown-submenu.submenu-open {
.dropdown-toggle {
padding-bottom: var(--dropdown-menu-padding-vertical);
}
.dropdown-menu {
--menu-background-color: transparent;
.dropdown-item {
background: transparent;
}
}
}
} }
/* #endregion */ /* #endregion */