diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-07-28 19:30:07 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-07-28 19:31:13 +0200 |
| commit | 1e720925e2ef690d455927c2f9e802571304982a (patch) | |
| tree | b5bcd4dd6a49115bdaca904832cb6bd8e859a35a /src/lib/components | |
| parent | 0d100b83f8ba818c2f32663f415649db03534548 (diff) | |
fix: sticky form and navbar layout with consistent nav-height
Diffstat (limited to 'src/lib/components')
| -rw-r--r-- | src/lib/components/Nav.svelte | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/components/Nav.svelte b/src/lib/components/Nav.svelte index 5e8fa30..8f2e5c2 100644 --- a/src/lib/components/Nav.svelte +++ b/src/lib/components/Nav.svelte @@ -16,12 +16,14 @@ .navbar { display: flex; gap: 0.25rem; - padding: 0.75rem 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 20; + height: var(--nav-height); + align-items: center; + padding: 0 1rem; } .navbar a { |
