Standardize container gaps to 16px
Syncs the shared package (16px AppShell title-to-content gap) and fixes the stat-card row gap on the home page (12px -> 16px).
This commit is contained in:
1 parent
ba7dfeac31
commit
0379dc475d
4 files changed
+10
-5
No files matched your search
@@ -56,7 +56,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex-1 px-4 pb-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="mb-4 grid grid-cols-2 gap-4 sm:grid-cols-4">
|
||||||
<div class="rounded-lg border border-border bg-surface p-3">
|
<div class="rounded-lg border border-border bg-surface p-3">
|
||||||
<div class="text-xs text-muted-fg">Lists</div>
|
<div class="text-xs text-muted-fg">Lists</div>
|
||||||
<div class="mt-1 text-lg font-semibold text-fg">{overview.stats.lists}</div>
|
<div class="mt-1 text-lg font-semibold text-fg">{overview.stats.lists}</div>
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@gabriel20xx/web-ui": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add a shared `NotificationStack` component and `notify` API (`notify.success/error/warning/info`) for toast-style action feedback. `AppShell` now mounts `NotificationStack` automatically, so any application using `AppShell` gets it without further wiring.
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
.sc-main {
|
.sc-main {
|
||||||
width: min(100% - 2rem, 90rem);
|
width: min(100% - 2rem, 90rem);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2rem 0 3rem;
|
padding: 1rem 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-header {
|
.sc-header {
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1rem;
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
background: var(--sc-surface);
|
background: var(--sc-surface);
|
||||||
border: 1px solid var(--sc-border);
|
border: 1px solid var(--sc-border);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
.sc-main {
|
.sc-main {
|
||||||
width: min(100% - 2rem, 90rem);
|
width: min(100% - 2rem, 90rem);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2rem 0 3rem;
|
padding: 1rem 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-header {
|
.sc-header {
|
||||||
@@ -218,7 +218,7 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1rem;
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
background: var(--sc-surface);
|
background: var(--sc-surface);
|
||||||
border: 1px solid var(--sc-border);
|
border: 1px solid var(--sc-border);
|
||||||
|
|||||||
Reference in new issue
Block a user