fix(theme): allow canonical cards to reflow at narrow widths

This commit is contained in:
Joseph Doherty
2026-11-13 17:05:50 -05:00
parent 7aeb9c6545
commit 5d2d9530ba
5 changed files with 46 additions and 2 deletions
@@ -0,0 +1,22 @@
# Shared narrow-grid correction — 1.0.1
Additional actual Overview checks after the accepted 1.0.0 pilot reproduced a shared
constraint: the card grid stayed 290px wide inside a 280px column at a 320px viewport;
at an effective195px viewport its document grew to310px. The raw current-browser
measurements are retained in `shared-grid-before.json`. Authored card-grid consumers
also exist in HistorianGateway and OtOpcUa, so one canonical fix is required.
Choose compatible patch **1.0.1**. The sole visual rule change uses
`minmax(min(290px, 100%), 1fr)` in canonical theme.css. Normal widths stay unchanged;
no token, palette, font, component API or domain behavior changes. Published1.0.0
and its static export remain immutable. Export1.0.1 must come from exact package bytes.
Concurrent agents work in unrelated libraries/consumers. Before packing, verify all
Theme package inputs match the recorded committed source. Pin SourceRevisionId and
RepositoryCommit explicitly for build/pack so a concurrent unrelated Git commit cannot
change artifact provenance. No unrelated library is packed or published.
Validate Theme full suite, exact package/export payloads, actual affected Overview
reflow/zoom and unchanged normal layout, then publish only reviewed bytes and verify
fresh downloads/restore. Other consumers perform their normal chapter checks after
adopting the same patch. This record does not claim those checks or publication yet.
@@ -0,0 +1,14 @@
[
{
"innerWidth": 320,
"scrollWidth": 320,
"grid": "290px",
"gridWidth": 280
},
{
"innerWidth": 195,
"scrollWidth": 310,
"grid": "290px",
"gridWidth": 155
}
]