Skip to content

Build your personal knowledge base with Trilium Notes

fix(text): restore the editor's dropdown and toolbar text sizes

Elian Doran72b9704856ad
diff --git a/apps/client/src/stylesheets/ckeditor-theme.css b/apps/client/src/stylesheets/ckeditor-theme.css
index 0d0e9eab8b..14996d6e70 100644
--- a/apps/client/src/stylesheets/ckeditor-theme.css
+++ b/apps/client/src/stylesheets/ckeditor-theme.css
@@ -172,6 +172,10 @@ div.ck.ck-dialog .ck.ck-form__header > .ck.ck-button:focus-visible {
div.ck.ck-dropdown__panel,
div.ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel {
--ck-font-size-base: 0.9rem;
+ --ck-button-font-size: var(--ck-font-size-base);
+ --ck-input-font-size: var(--ck-font-size-base);
+ --ck-labeled-field-label-font-size: var(--ck-font-size-base);
+ --ck-toolbar-text-font-size: var(--ck-font-size-base);
--ck-line-height-base: 1.3;
--ck-dropdown-item-height: 27px;
}
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index 7fcdcbd492..7e42659207 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -26,6 +26,7 @@
--ck-focus-disabled-outer-shadow: none;
--ck-border-radius: 6px;
+ --ck-toolbar-text-font-size: 13px;
}
/* Toolbar button in on state */