mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 08:29:00 +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 */
|
||||
|
||||
body.zen .note-split .ribbon-container {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 20px;
|
||||
width: 100%;
|
||||
z-index: 100000;
|
||||
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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user