From 1e1113ed533dd70c3a753251b9dc104e1567eb18 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 3 Oct 2026 12:47:09 +0000 Subject: [PATCH] Five buttons with nothing above them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Escribir button on Privados sat flush against the select, and four others were in the same state: Enviar under the message box, Publicar respuesta, Aprobar y publicar, and Volver a Inicio on the error page. None of them is wrapped in the
every other form uses, and that wrapper is where the space comes from — .btn carries no margin of its own. One rule rather than five wrappers: `.card > .btn` gets the same 1.25rem .actions has. Direct-child, so a button inside an actions row never gets both, and the next bare button somebody adds is spaced without anybody remembering. Wrapping each one by hand would have been an allowlist of places that got it right, which is the shape of the bug that left the password box unstyled. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn --- apps/board/static/board.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/board/static/board.css b/apps/board/static/board.css index ce39279..ffd393c 100644 --- a/apps/board/static/board.css +++ b/apps/board/static/board.css @@ -221,6 +221,16 @@ textarea { resize: vertical; line-height: 1.55; } } .btn:hover { background: var(--brand-dark); } +/* A button sitting straight in a card, rather than in an .actions row, still + * needs air above it. Five of them did not have any — the one under the "escribir + * a" picker was flush against the select — because the space every other form + * has comes from .actions, not from the button. + * + * Matching .actions' own margin so the two look the same, and a direct-child + * selector so a button inside .actions is never given both: it is a child of the + * row, not of the card. */ +.card > .btn { margin-top: 1.25rem; } + .linkish { background: none; border: 0;