Skip to content

Build your personal knowledge base with Trilium Notes

ui/grid view: fix CSS selector

Adorian Doran8b5d88bf2b4f
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index 1705cfd9df..c39b5a049c 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -34,13 +34,14 @@
margin-inline-start: 8px;
flex-shrink: 0;
}
+}
- &.use-note-color {
- span.tn-icon + span,
- .tn-icon,
- .rendered-note-attributes {
- color: var(--custom-color);
- }
+.note-book-card.use-note-color,
+.note-book-card.use-note-color {
+ span.tn-icon + span,
+ .tn-icon,
+ .rendered-note-attributes {
+ color: var(--custom-color);
}
}