From facd56cdf4f4311f3bee3dcdd7eec049a3dfdef7 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 2 Feb 2026 20:57:38 +0200 Subject: [PATCH] style/text editor/block toolbar button: tweak --- apps/client/src/stylesheets/theme-next/notes/text.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css index a291360c82..91fe7f9b1b 100644 --- a/apps/client/src/stylesheets/theme-next/notes/text.css +++ b/apps/client/src/stylesheets/theme-next/notes/text.css @@ -48,10 +48,13 @@ /* The toolbar show / hide button for the current text block */ :root .ck.ck-block-toolbar-button { + --ck-color-block-toolbar-button: var(--muted-text-color); --ck-color-button-on-background: transparent; - --ck-color-button-on-color: currentColor; - translate: -30% 0; - z-index: 5000; + --ck-color-button-on-color: var(--ck-editor-toolbar-button-on-color); + translate: -40% 0; + min-width: 0; + padding: 0; + z-index: 1600; } :root .ck.ck-toolbar .ck-button:not(.ck-disabled):active,