fabrica

hanna/fabrica

style(web): raise specificity of the action-button margin reset

01c38f6 · hanna committed on 2026-07-25

The stacked-form margin rule out-specified the earlier reset, so Delete buttons
stayed misaligned. Scope the reset with .card .entry-row .entry-row-actions so
it wins and the buttons center in their row.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +3 −2UnifiedSplit
assets/base.css +3 −2
@@ -2032,8 +2032,9 @@ table.blob tr:target {
20322032 flex: none;
20332033 }
20342034 /* Action-row submit buttons must not inherit the stacked-form top margin, or
2035- they float out of vertical alignment with the row. */
2036-.entry-row-actions form button[type="submit"] {
2035+ they float out of vertical alignment with the row. This selector is kept more
2036+ specific than `.card form button[type="submit"]:not(.inline-btn)`. */
2037+.card .entry-row .entry-row-actions form button[type="submit"] {
20372038 margin-top: 0;
20382039 }
20392040 .commit-sha-pill {