Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(search): set the search string fields in the UI font
Elian Doran9e56f389e59d
diff --git a/apps/client/src/widgets/search_field_editor.css b/apps/client/src/widgets/search_field_editor.cssindex 2c3aa043a1..bc5a23f5c4 100644--- a/apps/client/src/widgets/search_field_editor.css+++ b/apps/client/src/widgets/search_field_editor.css@@ -14,7 +14,8 @@}.cm-scroller {- font-family: inherit;+ /* Outweighs the global `.cm-scroller` rule, which puts code notes in the monospace font. */+ font-family: var(--main-font-family) !important;font-size: inherit;line-height: inherit;/* The max-height above only scrolls against an overflow here. */@@ -49,6 +50,7 @@overflow: hidden;padding: 4px;+ /* CodeMirror sets monospace on the popup; the field itself is in the UI font. */& > ul {font-family: inherit;max-height: 18em;@@ -70,10 +72,6 @@opacity: 0.7;}- .cm-completionLabel {- font-family: monospace;- }-.cm-completionDetail {flex-basis: 100%;margin-left: 0;@@ -103,7 +101,6 @@}.cm-placeholder {- font-family: var(--main-font-family);/* The hint names several keys, and the field is one line tall. */max-width: 100%;white-space: nowrap;