From 206905b2786e966d3201225281fe181a551f7f06 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 1 Jun 2025 16:36:00 +0300 Subject: [PATCH] style(next)/ribbon: improve the appearance of the Edited Notes list --- .../src/stylesheets/theme-next/ribbon.css | 19 +++++++++++++++++++ .../widgets/ribbon_widgets/edited_notes.ts | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next/ribbon.css b/apps/client/src/stylesheets/theme-next/ribbon.css index c7765865d..e21984a76 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 4c8d79abe..2967b5f6f 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*/`
${t("edited_notes.no_edited_notes_found")}
-
+ `;