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>
This commit is contained in:
parent
5a5ad51c17
commit
494ab19c55
18
docs/adr/0003-a-short-last-grid-row-is-centred.md
Normal file
18
docs/adr/0003-a-short-last-grid-row-is-centred.md
Normal file
@ -0,0 +1,18 @@
|
||||
# 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
|
||||
@ -208,6 +208,17 @@ css:
|
||||
.cm-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
|
||||
@media (min-width: 640px) { .cm-grid-2, .cm-grid-3, .cm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||
@media (min-width: 1024px) { .cm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
|
||||
/* bn-center-last-row (cms ADR 0221) centres a short last row; the host rule targets lg:grid-cols-*, so cm-grid repeats it. */
|
||||
@media (min-width: 1024px) {
|
||||
.bn-center-last-row .cm-grid-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
|
||||
.bn-center-last-row .cm-grid-4 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
|
||||
.bn-center-last-row .cm-grid-3 > *, .bn-center-last-row .cm-grid-4 > * { grid-column: span 2 / span 2; }
|
||||
.bn-center-last-row .cm-grid-3 > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
|
||||
.bn-center-last-row .cm-grid-3 > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
|
||||
.bn-center-last-row .cm-grid-4 > :nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
|
||||
.bn-center-last-row .cm-grid-4 > :nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
|
||||
.bn-center-last-row .cm-grid-4 > :nth-child(4n+1):last-child { grid-column: 4 / span 2; }
|
||||
}
|
||||
.cm-leadership-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
|
||||
@media (min-width: 640px) { .cm-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||
@media (min-width: 1024px) { .cm-leadership-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
name = "corporate-modernist"
|
||||
display_name = "Corporate Modernist"
|
||||
scope = "@themes"
|
||||
version = "0.6.3"
|
||||
version = "0.6.4"
|
||||
description = "Swiss-grid B2B theme with restrained typography, a single configurable accent, and trust-signal blocks for enterprise sites."
|
||||
kind = "theme"
|
||||
categories = ["templates"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user