Lab note #69: Tools hub cards given one row height

The ask

Make all the cards on the Tools page the same size. The Domain Recon card sat alone on the second row and came out shorter than the DNS Lookup row above it.

What changed

  • The Tools hub grid now gives every row the same height (grid-auto-rows: 1fr), so the lone Domain Recon card is stretched to match the first row. All four cards measure 335px, with each button pinned to the bottom of its card.
  • The rule is scoped to multi-column widths (641px and up) and sits with the other Tools hub rules in the theme’s custom global styles. On a phone, where the cards stack in one column, they keep their natural heights instead of being padded to a forced size.

How

SSH to openclaw01, a snapshot, ops/wp.sh post update 128 for the global styles, then measured the card heights in Chrome against private staging before ops/sync.sh.

What worked, what didn’t

Probed the rule in the browser first: the Domain Recon card was 271px against 335px for the first row, and grid-auto-rows: 1fr lifted it to 335px. On desktop all four cards now report 335px.

One decision worth recording. Applying the equal height at every width also stretched the cards on a phone, where they stack in a single column. A simulated 360px viewport showed natural heights of 303, 363, 363 and 271px, so a forced height would have added about 150px of empty space across the stack. The rule was therefore scoped to 641px and up, which fixes the desktop layout Paul flagged and leaves the phone stack alone. Production was not deployed, and no deploy was requested.


Change record

Harnessopencode
Date2026-10-11 21:18
Latest snapshot20261011-211430
Undo this sessionops/rollback.sh --git e384c58

Commits

  • d831a73 design: give the Tools hub cards one row height
  • 1c01efd scoreboard: refresh after Lab note #68