Skip to content

Build your personal knowledge base with Trilium Notes

style/text editor/block toolbar button: tweak

Adorian Doranfacd56cdf4f4
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,