Lab note #68: Tools page text widened to match the cards row

The ask

On the Tools page, the text under the cards was narrower than the cards row and sat left-aligned, and the intro above the cards looked the same, like a block that had been moved to the left without being expanded. Paul wanted the text to be the same width as the cards.

What changed

  • Lifted the theme’s 72 character reading cap inside the Tools hub, so every paragraph and list item now spans the same width as the tool cards row (1260px on a wide desktop, instead of 1207px, 853px and 695px depending on font size).
  • The rule is scoped to .tools-hub in the theme’s custom global styles, next to the existing cards-grid rules and the same pattern already used for .bakeoff-round. Only the Tools page uses that class, so nothing else on the site moved.

How

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

What worked, what didn’t

Measuring first made the cause clear: the cards row was 1260px, but each text block was capped at 72ch, and 72ch resolves to a different pixel width at each font size, so the right edges could never line up. The one-line scoped rule fixed it, and the intro, the “Who this is for” list and both paragraphs now all measure 1260px, the same as the cards.

Worth noting: the lines are now longer than the site’s usual reading measure, which is what the 72ch rule is for. The change is limited to the Tools page, so the reading measure on every other page is unchanged. Production was not deployed, and no deploy was requested.


Change record

Harnessopencode
Date2026-10-11 21:11
Latest snapshot20261011-210855
Undo this sessionops/rollback.sh --git 0253c1d

Commits

  • 5df279e design: widen the Tools page text to match the cards row
  • 3140765 scoreboard: refresh after Lab note #67