themes-corporate-modernist/docs/adr/0003-a-short-last-grid-row-is-centred.md
Alex Dunmow 494ab19c55 fix: website factory launch run defects (0.6.4)
Footer contact details, eyebrow alignment, long headlines, scrims and
grid rows found by the WO-101 render pass; see docs/adr.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:27:47 +08:00

1.5 KiB

A short last grid row is centred

Decided 2026-11-22 for corporate-modernist 0.6.4, from the website factory's launch runs (orchestrator WO-101, ADR 0092).

Context

The website factory compiles a customer's site onto this theme. Twelve launch sites built on dev on 2026-11-22 showed defects on their home pages, recorded in the orchestrator's docs/works/evidence/WO-090/runs/RESULTS.md; the render pass now also renders a 60 to 80 character headline with long words on every theme.

Decision

  • A cm-grid inside a section with the class bn-center-last-row centres its short last row at the lg breakpoint, with the rule cms ADR 0221 gives the shared lg:grid-cols-* grids: twice as many tracks, every item spans two, and the first item of a short last row starts one track in per missing item. The compiler marks grids of five, seven or eleven items with that class; the CMS rule never reached this theme's grids, so the seven services of Brightline Electrical ended with three against the left edge.

Consequences

  • corporate-modernist 0.6.4 is published to the dev registry; the orchestrator's internal/factory/themes.yaml pins it.
  • No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.6.4 (orchestrator docs/works/evidence/WO-101/theme-regression/).

Keywords: cm-grid, bn-center-last-row, short last row, centred grid, feature-grid, team, WO-101, website factory, launch runs, corporate-modernist