fix: align page and pagination spacing
Lint / Lint (push) Successful in 1m19s
Tests / Go backend (push) Successful in 1m27s
Tests / Dashboard checks (push) Successful in 1m43s
Docker / Docker Build & Push (push) Successful in 6m32s

This commit is contained in:
Gabriel20xx committed 2026-09-21 12:05:32 +02:00
1 parent 4a391392bb
commit c0a5e29d27
3 files changed
+9 -3

No files matched your search

+6
View File
@@ -125,3 +125,9 @@ body {
[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;
}
+2 -2
View File
@@ -55,7 +55,7 @@
}
</script>
<div class="flex-1 space-y-4 py-4">
<div class="flex-1 space-y-4 pb-4">
<div class="grid grid-cols-2 gap-4 sm:grid-cols-4">
<div class="rounded-lg border border-border bg-surface p-3">
<div class="text-xs text-muted-fg">Lists</div>
@@ -154,7 +154,7 @@
{/if}
</div>
<section class="rounded-lg border border-border bg-surface">
<section class="pagination-card rounded-lg border border-border bg-surface p-3">
<Pagination
{page}
{pageSize}
+1 -1
View File
@@ -28,7 +28,7 @@
const pageItems = $derived(listItems.slice((page - 1) * pageSize, (page - 1) * pageSize + pageSize));
</script>
<div class="space-y-4 py-4">
<div class="space-y-4 pb-4">
<div class="flex min-w-0 items-center gap-3">
<Button type="button" variant="secondary" size="sm" class="shrink-0" onclick={goBack}>
<ArrowLeft class="size-4" />