From 7836d4c65fc026ea7534cd312a0d557d5f24cc23 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 10 Jun 2026 18:07:19 +0100 Subject: [PATCH] fix(dynozavry): cap video card height to 520px to align with accordion --- src/components/sections/DinoPageContent.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/sections/DinoPageContent.tsx b/src/components/sections/DinoPageContent.tsx index 4ef3f62..a51ffd8 100644 --- a/src/components/sections/DinoPageContent.tsx +++ b/src/components/sections/DinoPageContent.tsx @@ -469,6 +469,7 @@ const DYNO_CSS = ` .dino-page .video-card{ flex:0 0 clamp(300px,100%,600px);scroll-snap-align:start; position:relative;border-radius:var(--r-card);overflow:hidden;background:#D6F2C0;aspect-ratio:9/16; + max-height:520px; } .dino-page .video-card img,.dino-page .video-card video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;} .dino-page .video-card.playing img{display:none;}