fix(dynozavry): cap video card height to 520px to align with accordion
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions

This commit is contained in:
Vadym Samoilenko 2026-06-10 18:07:19 +01:00
parent fb11ccb4f8
commit 7836d4c65f

View file

@ -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;}