fix: remove double top spacing and match shared theme to app palette
- The dashboard and list-detail page roots' own p-4 stacked on top of the shared page title box's margin-bottom (padding never collapses with margin) - drop the top half so there's a single, consistent gap. - Remap the shared component library's --sc-* tokens onto this app's own --color-* palette so the header, page title box, dialogs, and buttons all render in-brand instead of the generic default theme.
This commit is contained in:
1 parent
e70779a01f
commit
f1b52a4fa6
3 files changed
+38
-2
No files matched your search
@@ -55,7 +55,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="flex-1 p-4">
|
||||
<div class="flex-1 px-4 pb-4">
|
||||
<div class="mb-4 grid grid-cols-2 gap-3 sm:grid-cols-4">
|
||||
<div class="rounded-lg border border-border bg-surface p-3">
|
||||
<div class="text-xs text-muted-fg">Lists</div>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
const pageItems = $derived(listItems.slice((page - 1) * pageSize, (page - 1) * pageSize + pageSize));
|
||||
</script>
|
||||
|
||||
<div class="p-4">
|
||||
<div class="px-4 pb-4">
|
||||
<div class="mb-4 flex min-w-0 items-center gap-3">
|
||||
<Button type="button" variant="secondary" size="sm" class="shrink-0" onclick={goBack}>
|
||||
<ArrowLeft class="size-4" />
|
||||
|
||||
Reference in new issue
Block a user