style/zen mode: restyle the fixed formatting toolbar, relocate at the bottom of the screen

This commit is contained in:
Adorian Doran 2025-11-02 17:21:27 +02:00
parent 6a89e096e5
commit 605b317f29

View File

@ -2116,6 +2116,29 @@ body.zen .note-split.type-text {
font-size: 1.15em;
}
/* Fixed formatting toolbar */
body.zen .note-split .ribbon-container {
position: absolute;
bottom: 20px;
width: 100%;
z-index: 100000;
}
body.zen .note-split .ribbon-container .ribbon-body {
border: 0;
}
body.zen .note-split .ribbon-container .classic-toolbar-widget {
margin: auto;
width: fit-content;
box-shadow: 0px 10px 20px rgba(0, 0, 0, .1);
border-radius: 8px;
border: 1px solid var(--main-border-color);
padding: 4px;
background: var(--menu-background-color);
}
/* Content renderer */
footer.file-footer,