Skip to content

Build your personal knowledge base with Trilium Notes

fix(collections): list/grid collection properties clipped when little results

Elian Doran6e32aaac335f
diff --git a/apps/client/src/widgets/collections/NoteList.css b/apps/client/src/widgets/collections/NoteList.css
index 449f45d97c..198bc1bdaf 100644
--- a/apps/client/src/widgets/collections/NoteList.css
+++ b/apps/client/src/widgets/collections/NoteList.css
@@ -2,8 +2,12 @@
min-height: 0;
max-width: var(--max-content-width); /* Inherited from .note-split */
- overflow: auto;
+ overflow: visible;
contain: none !important;
+
+ &.full-height {
+ overflow: auto;
+ }
}
body.prefers-centered-content .note-list-widget:not(.full-height) {