Skip to content

Build your personal knowledge base with Trilium Notes

style(context_menu): improve submenu separator style

Elian Doran79cd96ade904
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 9587b7222e..cb495b78bf 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -378,29 +378,15 @@ body.mobile .dropdown-menu {
.dropdown-menu {
--menu-background-color: --menu-submenu-mobile-background-color;
+ --bs-dropdown-divider-margin-y: 0.25rem;
border-radius: 0;
max-height: 0;
transition: max-height 100ms ease-in;
- display: block !important;
-
+ display: block !important;
+
&.show {
max-height: 1000px;
- }
-
- .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;
+ padding: 0.5rem 0.75rem !important;
}
}