mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
style/canvas: tweak the main menu
This commit is contained in:
parent
d4fa6153c4
commit
48c7411ce4
@ -267,7 +267,9 @@ body[dir=rtl] .dropdown-menu:not([data-popper-placement="bottom-start"]) .dropdo
|
||||
/* Menu item group heading */
|
||||
|
||||
/* The heading body */
|
||||
.dropdown-menu h6 {
|
||||
.dropdown-menu h6,
|
||||
.excalidraw .dropdown-menu-container .dropdown-menu-group-title,
|
||||
.excalidraw .dropdown-menu-container div[data-testid="canvas-background-label"] {
|
||||
position: relative;
|
||||
background: transparent;
|
||||
padding: 1em 8px 14px 8px;
|
||||
@ -278,7 +280,9 @@ body[dir=rtl] .dropdown-menu:not([data-popper-placement="bottom-start"]) .dropdo
|
||||
}
|
||||
|
||||
/* The delimiter line */
|
||||
.dropdown-menu h6::before {
|
||||
.dropdown-menu h6::before,
|
||||
.excalidraw .dropdown-menu-container .dropdown-menu-group-title::before,
|
||||
.excalidraw .dropdown-menu-container div[data-testid="canvas-background-label"]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
|
@ -82,6 +82,19 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Main menu */
|
||||
|
||||
/* Hide separators - no longer needed as the menu group headers feature a delimiter line */
|
||||
.excalidraw .Island.dropdown-menu-container>div:not(:has(>*)) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Menu group header */
|
||||
.excalidraw .dropdown-menu-container .dropdown-menu-group-title,
|
||||
.excalidraw .Island.dropdown-menu-container div[data-testid="canvas-background-label"] {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* Panels */
|
||||
|
||||
.excalidraw .Island:not(.App-menu__left),
|
||||
|
Loading…
x
Reference in New Issue
Block a user