File size: 1,192 Bytes
f5696cb b80130d f5696cb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /*
* styles/wave57/home-app.css. W57-T28 (owner instruction 26).
*
* Home and App render from ONE component and now share ONE create affordance, because they share
* one wizard door (`Shell.tsx` passes `openApplicationWizard` to both). Home fills its row with
* three cards; App has a single create door, and `.home-cards` is laid out with
* `repeat(auto-fit, minmax(212px, 1fr))`.
*
* ⛔ `auto-fit` COLLAPSES a track that holds no item, so a lone card would stretch across the whole
* row and measure nothing like a card on Home at the same viewport. Two inert siblings keep the row
* resolving to the same tracks Home resolves to, at every width, so the App card is the same size
* as Home's first card rather than approximately it.
*
* ⛔ `visibility: hidden`, NEVER `display: none`. A `display: none` item is not placed in a track,
* the track collapses, and the parity this file exists for is silently gone.
*/
.home-cards.is-app .home-card-ghost {
visibility: hidden;
box-sizing: border-box;
height: 100%;
/* Use the stretched row's card height, including wrapped text, without a pixel estimate. */
min-height: 100%;
min-width: 0;
pointer-events: none;
}
|