Skip to content

fix(cli): top-align scaffold action rows; Delete no longer floats 4px high - #3609

Merged
bpamiri merged 1 commit into
developfrom
fix/action-row-alignment
Sep 13, 2026
Merged

bpamiri merged 1 commit into
developfrom
fix/action-row-alignment

Conversation

@bpamiri

@bpamiri bpamiri commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

The Delete button in a scaffolded action row sat a few pixels above Edit and ← all posts. Cause confirmed by measurement, not guessed.

Why

buttonTo renders a <form>, so in the flex row the form is the flex item and the visible button sits one level down. simple.css gives that nested button margin-bottom: 8px, which the existing .wheels-actions > * reset could not reach — it stops at the form. So the form was 8px taller than the sibling <a> links, and align-items: center floated its button up by half the difference.

top bottom inner margin-bottom
Edit (<a>) 299.9 342.3 0
Delete (<form><button>) 295.9 338.3 8px
← all posts (<a>) 299.9 342.3 0

Exactly 4px.

Fix

Two changes, each sufficient alone, both kept:

  • .wheels-actions > form > .button { margin-bottom: 0 } — equalises height
  • align-items: flex-start — top-justifies, so a future height difference can't re-centre the row

After: all three at top 295.9 / bottom 338.3.

CLI suite: 1357 pass, the 4 pre-existing DbCommandSpec failures, 0 errors.

… high

`buttonTo` renders a <form>, so in the flex row the form is the flex item and
the visible button sits one level down. simple.css gives that nested button
`margin-bottom: 8px`, which the existing `.wheels-actions > *` reset could not
reach (it stops at the form). The form was therefore 8px taller than the
sibling <a> links, and `align-items: center` floated its button up by half
the difference — measured at exactly 4px (top 295.9 vs 299.9).

Two changes, each sufficient on its own, both kept:
  - `.wheels-actions > form > .button { margin-bottom: 0 }` equalises height.
  - `align-items: flex-start` top-justifies, so a future height difference
    cannot re-centre the row.

Measured after: all three actions at top 295.9 / bottom 338.3.

CLI suite: 1357 pass, the 4 pre-existing DbCommandSpec failures, 0 errors.

Signed-off-by: Peter Amiri <peter@alurium.com>
@bpamiri
bpamiri merged commit d56abee into develop Sep 13, 2026
13 checks passed
@bpamiri
bpamiri deleted the fix/action-row-alignment branch September 13, 2026 04:27
bpamiri added a commit that referenced this pull request Sep 13, 2026
* ci: pin Homebrew/actions/setup-homebrew to a tag

Homebrew/actions renamed its default branch from master to main. Both
docs workflows referenced @master, so every PR opened after the rename
fails at "Set up job" with:

  Unable to resolve action `homebrew/actions@master`,
  unable to find version `master`

The same job passed 18 hours earlier on PR #3609 with an unchanged
workflow — nothing in the repo moved; upstream did.

Pinned to the 2026.09.07.1 tag rather than swapping @master for @main:
a branch reference is exactly what just broke, and upstream tags weekly.
setup-homebrew/action.yml is byte-identical (1421 bytes) at that tag and
at today's 2026.09.13.1.

Found while landing #3611, whose only red check was this job.

Signed-off-by: Peter Amiri <peter@alurium.com>

* ci: grant tap trust before tapping

Second half of the docs-verify breakage. After pinning the action, the
job ran and failed inside `brew tap`:

  Invalid formula (golden_gate): .../Formula/wheels-be.rb
  Refusing to load formula wheels-dev/wheels/wheels-be from untrusted tap.
  Run `brew trust wheels-dev/wheels` to trust it.

Homebrew now validates every formula in a tap WHILE cloning it, and on
Linuxbrew refuses untrusted ones at that moment. docs-verify already had
`brew trust wheels-dev/wheels` — one line AFTER the tap, so it ran too
late; docs-validation had no trust at all. Both now trust first. The
earlier run proved `brew trust` accepts a not-yet-installed tap (it
printed "Trusted tap" after the failed clone).

The "Invalid formula" wording is a consequence of the refusal, not a
separate syntax problem; the tap's own macOS CI audits and installs the
same formula green.

Signed-off-by: Peter Amiri <peter@alurium.com>

---------

Signed-off-by: Peter Amiri <peter@alurium.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant