diff --git a/frontend/src/components/CollageHero.vue b/frontend/src/components/CollageHero.vue index e8a65f3..83e1da0 100644 --- a/frontend/src/components/CollageHero.vue +++ b/frontend/src/components/CollageHero.vue @@ -43,9 +43,13 @@
- + + + + +

{{ item.title }}

@@ -509,7 +513,7 @@ function handleItemClick(item: MediaItem, index: number) { height: 70vh; min-height: 450px; max-height: 600px; - overflow: hidden; + overflow: visible; background: var(--bg-primary); --h: clamp(450px, 70vh, 600px); --small-w: calc(0.433 * var(--h)); /* Small hex width = 0.866 * 50% of height */ @@ -695,6 +699,19 @@ function handleItemClick(item: MediaItem, index: number) { left: 0; } +/* Keep top hex shape for left-bottom item, but flatten bottom edge to avoid overflow */ +.collage-item.collage-item-2:not(.collage-featured) { + height: 37.5%; + width: var(--small-w); + clip-path: polygon( + 50% 0%, + 100% 33.333%, + 100% 100%, + 0% 100%, + 0% 33.333% + ); +} + /* RIGHT SIDE - Column 0 (closest to big image) */ /* Row 1 (top): -12.5% */ .collage-item-3 {