Skip to content

Build your personal knowledge base with Trilium Notes

style(client): improve read-only note title

Elian Doranb502e999de62
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index deca1440d1..f6f07684f0 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -252,10 +252,6 @@ button.close:hover {
color: var(--main-text-color) !important;
}
-.note-title[readonly] {
- background: inherit;
-}
-
.tdialog {
display: none;
}
diff --git a/apps/client/src/widgets/note_title.css b/apps/client/src/widgets/note_title.css
index aa3c31269c..dd56edf96c 100644
--- a/apps/client/src/widgets/note_title.css
+++ b/apps/client/src/widgets/note_title.css
@@ -12,6 +12,11 @@
padding: 1px 12px;
}
+.note-title-widget input.note-title[readonly] {
+ background: inherit;
+ outline: none;
+}
+
.note-title-widget input.note-title.protected {
text-shadow: 4px 4px 4px var(--muted-text-color);
}