From c0a5e29d274a591525808061a47e44942c345faa Mon Sep 17 00:00:00 2001 From: Gabriel20xx Date: Mon, 21 Sep 2026 12:05:32 +0200 Subject: [PATCH] fix: align page and pagination spacing --- frontend/src/app.css | 12 +++++++++--- frontend/src/routes/+page.svelte | 4 ++-- frontend/src/routes/lists/[id]/+page.svelte | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index 238273e..1ea8497 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -122,6 +122,12 @@ body { } /* Wide-page setting: lifts the shared shell's default max-width cap on the main content area. */ -[data-wide-layout='true'] .sc-main { - width: calc(100% - 2rem); -} +[data-wide-layout='true'] .sc-main { + width: calc(100% - 2rem); +} + +/* The shared paginator adds separation when it follows content directly. Inside the overview + card, the card padding provides that spacing and keeps the top and bottom insets balanced. */ +.pagination-card .sc-pagination { + margin-top: 0; +} diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index cd7dc5c..cc4e8de 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -55,7 +55,7 @@ } -
+
Lists
@@ -154,7 +154,7 @@ {/if}
-
+
-
+