style(web): location-note rows lose the color bar — only highlights carry a color (user review)

This commit is contained in:
John O'Keefe committed 2026-10-08 14:57:41 -04:00
1 parent d5d8e3e173
commit f83b36167e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ templ AnnotationsBanner(book handlers.MediaDetail) {
>
<span
class="w-1.5 self-stretch rounded-full shrink-0"
:style="{ backgroundColor: row.color }"
:style="{ backgroundColor: row.kind === 'highlight' ? row.color : 'transparent' }"
></span>
<span class="flex-1 min-w-0">
<span