Skip to content

Build your personal knowledge base with Trilium Notes

fix(text): wrong font for dialogs

Elian Doran7dc1bbcb1363
diff --git a/apps/client/src/stylesheets/ckeditor-theme.css b/apps/client/src/stylesheets/ckeditor-theme.css
index e568249cc1..ec0ff86d4a 100644
--- a/apps/client/src/stylesheets/ckeditor-theme.css
+++ b/apps/client/src/stylesheets/ckeditor-theme.css
@@ -108,6 +108,9 @@ body {
--ck-color-widget-type-around-button: var(--main-border-color);
--ck-color-widget-type-around-button-hover: var(--main-border-color);
+
+ --ck-font-face: var(--main-font-family);
+ --ck-input-label-height: 1.5em;
}
/* -- Overrides the default .ck-dialog class to match Trilium's modals. --------------------- */
diff --git a/apps/client/src/stylesheets/theme-next/notes/text.css b/apps/client/src/stylesheets/theme-next/notes/text.css
index b4a01357b5..3257a3a0a4 100644
--- a/apps/client/src/stylesheets/theme-next/notes/text.css
+++ b/apps/client/src/stylesheets/theme-next/notes/text.css
@@ -2,11 +2,6 @@
* CKEDITOR
*/
- :root {
- --ck-font-face: var(--main-font-family);
- --ck-input-label-height: 1.5em;
- }
-
/*
* Toolbar
*/
@@ -468,7 +463,7 @@ div.ck-template-form .ck-template-form__text-part {
div.ck-template-form .ck-template-form__text-part mark {
--ck-color-highlight-background: transparent;
-
+
color: var(--quick-search-result-highlight-color);
text-decoration: underline;
font-weight: bold;