From 605b317f29f76bfcfca87829977c1bdf74cc0afc Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 2 Nov 2025 17:21:27 +0200 Subject: [PATCH] style/zen mode: restyle the fixed formatting toolbar, relocate at the bottom of the screen --- apps/client/src/stylesheets/style.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index d874581d6..e7ca280e6 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -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,