Skip to content

Build your personal knowledge base with Trilium Notes

ui/list & grid view: add bottom margin if the pager is not visible

Adorian Doran87ee1185f21f
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index 0149f1c604..44718439c0 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -17,6 +17,10 @@
.note-list-bottom-pager {
margin-block: 8px;
}
+
+ &:not(:has(.note-list-bottom-pager)) {
+ margin-bottom: 48px;
+ }
}
/* #region List view / Grid view common styles */