From 422bc00adee0c4c80611c9d921a6fe601b6038cd Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 23 Feb 2026 11:36:04 +0200 Subject: [PATCH] ui/list & grid view: add block margin for the bottom pager --- .../src/widgets/collections/legacy/ListOrGridView.css | 4 ++++ .../src/widgets/collections/legacy/ListOrGridView.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css index 0f963f0d59..552599ffda 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css @@ -13,6 +13,10 @@ flex-wrap: wrap; gap: 10px; } + + .note-list-bottom-pager { + margin-block: 8px; + } } /* #region List view / Grid view common styles */ diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx index 86958615e7..9f95fdd635 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx @@ -33,7 +33,7 @@ export function ListView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
} + centerChildren={} /> { noteIds.length > 0 &&
@@ -49,7 +49,7 @@ export function ListView({ note, noteIds: unfilteredNoteIds, highlightedTokens } ))} - +
}
); @@ -66,7 +66,7 @@ export function GridView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
} + centerChildren={} />
@@ -82,7 +82,7 @@ export function GridView({ note, noteIds: unfilteredNoteIds, highlightedTokens } ))}
- +
);