mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 16:39:02 +01:00
style/zen mode/fixed formatting toolbar: fix the position in multi-split mode
This commit is contained in:
parent
c7c7e05106
commit
5d706a88d8
@ -2119,11 +2119,17 @@ body.zen .note-split.type-text {
|
|||||||
/* Fixed formatting toolbar */
|
/* Fixed formatting toolbar */
|
||||||
|
|
||||||
body.zen .note-split .ribbon-container {
|
body.zen .note-split .ribbon-container {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 100000;
|
z-index: 100000;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
visibility: hidden; /* Hidden unless the current note split is focused */
|
||||||
|
}
|
||||||
|
|
||||||
|
body.zen .note-split:focus-within .ribbon-container {
|
||||||
|
visibility: visible; /* Show when the note split is focused */
|
||||||
}
|
}
|
||||||
|
|
||||||
body.zen .note-split .ribbon-container .ribbon-body {
|
body.zen .note-split .ribbon-container .ribbon-body {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user