From b8db1d109c7bc5abe0f0e967ce7bfa9b6c28f61a Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Wed, 7 Oct 2026 15:30:26 -0400 Subject: [PATCH] =?UTF-8?q?feat(web):=20note-attached=20badge=20on=20banne?= =?UTF-8?q?r=20highlight=20rows=20=E2=80=94=20corner=20stroke=20glyph?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Highlights with an attached note get a small edit-note stroke SVG (same note-pencil path as the selection popover's Note affordance) in the card's upper-right corner — themed via var(--text-secondary), pointer-events: none so taps pass through, header gains pr-8 on those rows so wrapped text never runs under it. Placement matches the Android banner's corner badge (user preference: never left of text). Regenerated annotations_banner_templ.go from the repo root. --- templates/annotations_banner.templ | 12 +++++++++++- templates/annotations_banner_templ.go | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/annotations_banner.templ b/templates/annotations_banner.templ index 47683042..647da894 100644 --- a/templates/annotations_banner.templ +++ b/templates/annotations_banner.templ @@ -60,10 +60,20 @@ templ AnnotationsBanner(book handlers.MediaDetail) {