fabrica

hanna/fabrica

fix(web): drop card top padding and move the admin checkbox right

2ddd2c7 · hanna committed on 2026-07-26

Zero the top margin of a card's first child so empty-state notes (collaborators,
labels, API tokens) no longer open with a doubled gap. Move the "Administrator"
checkbox to the right of the "Create user" button, matching the release form.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +5 −0UnifiedSplit
assets/base.css +5 −0
@@ -325,6 +325,11 @@ body.drawer-open .drawer-backdrop {
325325 border-radius: var(--fb-radius);
326326 padding: 1rem;
327327 }
328+/* The first child sits against the card padding, so its own top margin would
329+ double the gap (empty-state notes, first form labels, headings). */
330+.card > :first-child {
331+ margin-top: 0;
332+}
328333
329334 .muted {
330335 color: var(--fb-fg-muted);