Skip to content

Build your personal knowledge base with Trilium Notes

style/list view: refactor

Adorian Doran7e6daf5b3613
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index a1586135dc..b2251185ed 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -114,12 +114,12 @@
}
}
-:root .nested-note-list {
+.nested-note-list {
--card-nested-section-indent: 25px;
-}
-:root .nested-note-list.search-results {
- --card-nested-section-indent: 32px;
+ &.search-results {
+ --card-nested-section-indent: 32px;
+ }
}
/* List item */