fix(hero): fix mosaic layout full-width + update screenshots

- Override inherited 2-column grid from .hero by adding display: block to .hero--mosaic
- Add explicit grid-column/grid-row for mosaic cells 3 & 4 to prevent auto-placement issues
- Slice heroData to 4 images to match 4 defined grid cells
- Regenerate hero-mosaic-home.png and theme-studio-home.png screenshots
This commit is contained in:
ralksta
2026-03-13 11:34:16 +01:00
parent 5f8693e19e
commit 3b657b625c
4 changed files with 16 additions and 3 deletions

View File

@@ -457,6 +457,7 @@
/* ── Hero: Mosaic Layout ────────────────────────── */
.hero--mosaic {
position: relative;
display: block; /* override inherited 1fr 1fr split grid from .hero */
min-height: calc(100vh - 56px);
}
@@ -479,15 +480,27 @@
/* Cell 1: spans 2 rows on the left */
.hero__mosaic-cell--1 {
grid-column: 1;
grid-row: 1 / 3;
}
/* Cell 2: wide, top right */
/* Cell 2: wide, top right — spans 2 columns */
.hero__mosaic-cell--2 {
grid-column: 2 / 4;
grid-row: 1;
}
/* Remaining cells fill naturally */
/* Cell 3: bottom middle */
.hero__mosaic-cell--3 {
grid-column: 2;
grid-row: 2;
}
/* Cell 4: bottom right */
.hero__mosaic-cell--4 {
grid-column: 3;
grid-row: 2;
}
.hero__mosaic-overlay {
position: absolute;