diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 09:12:25 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 09:12:25 +0200 |
| commit | 7d85a18867ca0fe2310218c63cfc696c0f916171 (patch) | |
| tree | 184510b861bcda9e105322b79395dd3af512f580 /src/routes/+page.svelte | |
| parent | 4b2b964283075712de98743720ff3e31370ddc8e (diff) | |
Consolidate duplicated page CSS into app.css, share TestDb type
- Move .page-header/.back-link/.input-invalid/.save-status/.btn-done
(plus hover/variant rules) into app.css as shared route scaffolding;
delete per-page scoped copies
- Unify drifted values: page-header padding 1rem -> 1.25rem (routine
page), empty-state spacing 0.75/1.5rem -> 1/2rem (grocery detail),
save-status margin -0.25rem applied on both pages, back-link margin
1.5rem -> 1rem (grocery detail); routine page's large Fait button is
kept via a .btn-done-lg modifier
- Export TestDb from test-helper and use it in the five db/service
test files to shrink duplicated fixture scaffolding
Diffstat (limited to 'src/routes/+page.svelte')
| -rw-r--r-- | src/routes/+page.svelte | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 35ff5d7..5214bd6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -46,13 +46,6 @@ </main> <style> - .page-header { - display: flex; - align-items: center; - justify-content: space-between; - padding: 1.25rem 0; - } - .project-row { padding: 0.875rem 1rem; } @@ -67,9 +60,4 @@ .project-link:hover { color: var(--accent); } - - .empty { - margin-top: 1rem; - padding: 2rem; - } </style> |
