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(client): fade a placeholder into the editor it sits in
Elian Doran3a24a59e9b4e
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 7d107ead05..edc4487875 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -628,11 +628,9 @@ body.mobile .dropdown .dropdown-submenu {font-family: var(--monospace-font-family) !important;}-body .cm-editor .cm-placeholder {- color: #999 !important;-}-.cm-editor .cm-placeholder {+ color: inherit;+ opacity: 0.5;/* Out of flow, so the caret takes its height from the line rather than from the hint. */position: absolute;}diff --git a/apps/client/src/widgets/ribbon/SearchStringEditor.css b/apps/client/src/widgets/ribbon/SearchStringEditor.cssindex 0d9ee53088..875042bc63 100644--- a/apps/client/src/widgets/ribbon/SearchStringEditor.css+++ b/apps/client/src/widgets/ribbon/SearchStringEditor.css@@ -97,7 +97,6 @@}.cm-placeholder {- color: var(--input-placeholder-color, var(--muted-text-color));font-family: var(--main-font-family);/* The hint names several keys, and the field is one line tall. */max-width: 100%;