Maryam's pre-cut read of the Forms & Fields and Calendar group pages (#21329, dev6942094715) graded both below #21140's 9/10 gate: Forms 7 and 8, Calendar 6.5 and 7.5. Two of the deductions come from the same rule, the group page's 2 × 2 lead card. Captured as defect-notes cf6d1423 and 2cd5f70e.
The Problem
Forms & Fields (four cards): the lead, Multi-Step Account Form, loses the right edge of its cover at 1440 × 900. The phone layout shows the same cover whole.
Calendar (two cards on 6942094715; three since the birthday book joined it on 22 Nov): the lead's cover shrinks to a strip of about 3.7:1, about 195 px tall, and loses 10 AM to 4 PM of the schedule. The phone layout again shows it whole.
Every cover is captured at 16:9 (buildScripts/docs/captureExamples.mjs, 1280 × 720). A cover box with any other ratio crops it by construction.
The Architectural Reality
resources/css/src/apps/portal/examples/List.css: at 1100 px of list width and above, the first card of a .portal-examples-list-lead list spans two columns and two rows. The lead overrides the cover's ratio (--portal-example-cover-aspect: auto, --portal-example-cover-height: 100%, aspect-ratio: auto; height: 100% on .preview-image-wrap), so its cover box takes whatever height the two rows give it.
Grid rows size to their content (grid-auto-rows: max-content). Beside two cards, the 2 × 2 box comes out about 14:9, and .preview-image (background-size: cover; background-position: left top) cuts the right edge of a 16:9 image. Beside one card, the second row has no other item and sizes to almost nothing, so the lead's cover collapses to a strip.
test/playwright/e2e/portal/ExamplesCatalogNL.spec.mjs#expectCardLayout checks every card's cover for 16:9 except the lead's (card.isLead || …), so the crop passes CI today.
#22024 / #22025 filled the lone final card at 3n + 1 cards, kept the lead's two-row bounds, and kept covers at their aspect ratio.
The Fix
In List.css, the lead keeps its cover at the captured 16:9 instead of stretching it to the cell: drop the ratio and height overrides. The lead still spans two columns and two rows, and where two cards stand beside it, its bottom still aligns with theirs, because the caption below the cover takes the remaining height. Beside a single card, the lead's own 16:9 cover now sets the row heights instead of collapsing to them. In ExamplesCatalogNL.spec.mjs, the lead loses its exemption from the 16:9 check.
Acceptance Criteria
AC-1: At 1440 × 900, every group page's lead cover is 16:9 and shows the captured image whole; the lead still spans two columns, and with two cards beside it, its top and bottom align with theirs.
AC-2: A lead beside one other card (Containers & Layouts) or alone (Tabs) shows its cover at 16:9 instead of a strip.
AC-3: Phone layouts, the overview, and #22025's full-row final card are unchanged.
AC-4: expectCardLayout checks the lead's cover for 16:9 like every other card, red on dev and green with the fix. The pull request carries before/after frames of Forms & Fields and Calendar at 1440 × 900, and of Containers & Layouts and Tabs, the one-beside and alone cases, at 1440 × 1200, where each demonstrations band shows unscrolled.
Amended 23 Nov by the author, after Sophie's review of #22052: AC-2 first named Calendar's lead "beside its one other card". Calendar gained its third card, the birthday book, the same night, so it now shows the two-beside crop that AC-1 covers. Containers & Layouts (two cards) and Tabs (one) now carry the one-beside and alone cases, and AC-4's frames add them. The Fix first said the caption would be centred; a more specific rule already sets the caption's alignment, so it stays top-aligned like every other card's.
Out of Scope
The cross-listed Form layout tile's collapsed inputs (defect-note, an example defect).
Design authority: #21140 sets the three-column layout with a two-row lead at 1440 px; #22024 adds that covers keep their aspect ratio and the lead keeps its two-row bounds. This ticket keeps both and drops only the lead's ratio override.
Live latest-open + closed sweep: latest 20 open (47 open, orange band) plus open and closed searches ("lead card cover crop", "two cards group page lead") at 2026-11-23T01:01Z; no open owner. Closed #22024 read: its Out of Scope excludes membership, cover images and mobile navigation, none of which this changes. A2A, latest 30 messages at all read states: no claim on these rules; my [lane-intent] went out at 01:02Z after Sophie, who wrote #22025, had first refusal. MC sweep ("lead card cover cropped, two cards"): no prior decision. Own assignments: #21329 (parent outcome), #21041.
Context
Maryam's pre-cut read of the Forms & Fields and Calendar group pages (#21329,
dev6942094715) graded both below #21140's 9/10 gate: Forms 7 and 8, Calendar 6.5 and 7.5. Two of the deductions come from the same rule, the group page's 2 × 2 lead card. Captured as defect-notescf6d1423and2cd5f70e.The Problem
6942094715; three since the birthday book joined it on 22 Nov): the lead's cover shrinks to a strip of about 3.7:1, about 195 px tall, and loses 10 AM to 4 PM of the schedule. The phone layout again shows it whole.Every cover is captured at 16:9 (
buildScripts/docs/captureExamples.mjs, 1280 × 720). A cover box with any other ratio crops it by construction.The Architectural Reality
resources/css/src/apps/portal/examples/List.css: at 1100 px of list width and above, the first card of a.portal-examples-list-leadlist spans two columns and two rows. The lead overrides the cover's ratio (--portal-example-cover-aspect: auto,--portal-example-cover-height: 100%,aspect-ratio: auto; height: 100%on.preview-image-wrap), so its cover box takes whatever height the two rows give it.grid-auto-rows: max-content). Beside two cards, the 2 × 2 box comes out about 14:9, and.preview-image(background-size: cover; background-position: left top) cuts the right edge of a 16:9 image. Beside one card, the second row has no other item and sizes to almost nothing, so the lead's cover collapses to a strip.test/playwright/e2e/portal/ExamplesCatalogNL.spec.mjs#expectCardLayoutchecks every card's cover for 16:9 except the lead's (card.isLead || …), so the crop passes CI today.The Fix
In
List.css, the lead keeps its cover at the captured 16:9 instead of stretching it to the cell: drop the ratio and height overrides. The lead still spans two columns and two rows, and where two cards stand beside it, its bottom still aligns with theirs, because the caption below the cover takes the remaining height. Beside a single card, the lead's own 16:9 cover now sets the row heights instead of collapsing to them. InExamplesCatalogNL.spec.mjs, the lead loses its exemption from the 16:9 check.Acceptance Criteria
expectCardLayoutchecks the lead's cover for 16:9 like every other card, red ondevand green with the fix. The pull request carries before/after frames of Forms & Fields and Calendar at 1440 × 900, and of Containers & Layouts and Tabs, the one-beside and alone cases, at 1440 × 1200, where each demonstrations band shows unscrolled.Amended 23 Nov by the author, after Sophie's review of #22052: AC-2 first named Calendar's lead "beside its one other card". Calendar gained its third card, the birthday book, the same night, so it now shows the two-beside crop that AC-1 covers. Containers & Layouts (two cards) and Tabs (one) now carry the one-beside and alone cases, and AC-4's frames add them. The Fix first said the caption would be centred; a more specific rule already sets the caption's alignment, so it stays top-aligned like every other card's.
Out of Scope
Avoided Traps
background-position: centeron the lead. A 16:9 image in a 14:9 box still loses its sides; centring only moves the crop.Related
Parent #21140 (design 3, the lead card, via #21325) · #21329 (Maryam's read) · #22024 / #22025 (the lone final card) · #21942.
Design authority: #21140 sets the three-column layout with a two-row lead at 1440 px; #22024 adds that covers keep their aspect ratio and the lead keeps its two-row bounds. This ticket keeps both and drops only the lead's ratio override.
Live latest-open + closed sweep: latest 20 open (47 open, orange band) plus open and closed searches ("lead card cover crop", "two cards group page lead") at 2026-11-23T01:01Z; no open owner. Closed #22024 read: its Out of Scope excludes membership, cover images and mobile navigation, none of which this changes. A2A, latest 30 messages at all read states: no claim on these rules; my
[lane-intent]went out at 01:02Z after Sophie, who wrote #22025, had first refusal. MC sweep ("lead card cover cropped, two cards"): no prior decision. Own assignments: #21329 (parent outcome), #21041.Decision Record impact: none.
Origin Session ID: 1563f974-0d41-4096-a8cf-0a5cd5a12533
Retrieval Hint: "examples catalog lead card cover crop 2x2 two cards calendar collapse 16:9"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code