From 7b9303b392ab47a371ccc2ff46a481a9b519b6c4 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 9 Nov 2025 19:35:47 +0200 Subject: [PATCH] style/zen mode: do not show an empty toolbar container when the toolbar is not actually available --- apps/client/src/stylesheets/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 6eaa5f61c..5a132fa82 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -2178,6 +2178,11 @@ body.zen .note-split .ribbon-container .classic-toolbar-widget { 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 { pointer-events: all; }