Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/ribbon: improve the appearance of the Edited Notes list

Adorian Doran206905b2786e
diff --git a/apps/client/src/stylesheets/theme-next/ribbon.css b/apps/client/src/stylesheets/theme-next/ribbon.css
index c7765865d1..e21984a76a 100644
--- a/apps/client/src/stylesheets/theme-next/ribbon.css
+++ b/apps/client/src/stylesheets/theme-next/ribbon.css
@@ -108,6 +108,25 @@ div.editability-dropdown a.dropdown-item {
font-size: 0.85em;
}
+/*
+ * Edited notes (for calendar notes)
+ */
+
+/* The path of the note */
+.edited-notes-list small {
+ margin-inline-start: 4px;
+ font-size: inherit;
+ color: var(--muted-text-color);
+}
+
+.edited-notes-list small::before {
+ content: "(";
+}
+
+.edited-notes-list small::after {
+ content: ")";
+}
+
/*
* Owned attributes
*/
diff --git a/apps/client/src/widgets/ribbon_widgets/edited_notes.ts b/apps/client/src/widgets/ribbon_widgets/edited_notes.ts
index 4c8d79abe7..2967b5f6f4 100644
--- a/apps/client/src/widgets/ribbon_widgets/edited_notes.ts
+++ b/apps/client/src/widgets/ribbon_widgets/edited_notes.ts
@@ -19,7 +19,7 @@ const TPL = /*html*/`
<div class="no-edited-notes-found">${t("edited_notes.no_edited_notes_found")}</div>
- <div class="edited-notes-list"></div>
+ <div class="edited-notes-list use-tn-links"></div>
</div>
`;