mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 16:39:02 +01:00
style/zen mode: do not show an empty toolbar container when the toolbar is not actually available
This commit is contained in:
parent
b905c1d03a
commit
7b9303b392
@ -2178,6 +2178,11 @@ body.zen .note-split .ribbon-container .classic-toolbar-widget {
|
|||||||
background: var(--menu-background-color);
|
background: var(--menu-background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.zen .note-split .ribbon-container .classic-toolbar-widget:not(:has(> .ck-toolbar)) {
|
||||||
|
/* Hide the toolbar wrapper if the toolbar is missing */
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
body.zen .note-split:focus-within .ribbon-container .classic-toolbar-widget {
|
body.zen .note-split:focus-within .ribbon-container .classic-toolbar-widget {
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user