mirror of
https://github.com/zadam/trilium.git
synced 2025-11-30 04:24:24 +01:00
style(context_menu): improve submenu separator style
This commit is contained in:
parent
a5b84406be
commit
79cd96ade9
@ -378,6 +378,7 @@ 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;
|
||||||
@ -385,22 +386,7 @@ body.mobile .dropdown-menu {
|
|||||||
|
|
||||||
&.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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user