CSS: reduce header→form spacing (gap under the header is too big) #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
m: the padding/margin from the header to the form (the gap under the page header, above where the form starts) is too big. Tighten it.
Scope
CSS only —
web/static/style.css(the header/hero block's bottom margin or the form/main top padding). Reduce the gap to a tasteful, tighter value; mobile-first (check phone + desktop). Don't reintroduce the #13 issues (section-header bleed, margins) — just the top header→form gap.Sequencing / bundling
Small CSS nudge — bundle into one polish shift with #16 (theme-reset) and #17 (favicon) rather than a worker per one-liner. Same compose/static track.
DoD
Done ✅ — tightened header → form gap
CSS only. The gap under the brand header was driven by
.card { margin-top: 1.25rem }plus the unstyled<header>flow.header { margin-bottom: 0.35rem; }— binds the brand to the content it introduces..card { margin-top: 1.25rem → 0.5rem }.No regression to #13's section-header/
.choice-labelspacing (those rules are untouched). Applies consistently across compose, postcard and admin (all use.card); the landing hero keeps its own padding.build / vet / test green.
Commit:
3ae968445b✅ Live — merged
3ae9684(merge9a8eda4), deployed. Header→form gap tightened (CSS). No regression to #13. Please eyeball. Not closing — m closes.