Skip to content

Commit 6e620a5

Browse files
Merge branch 'main' into 14890-show-or-hide-the-sign-up-newsletter-component
2 parents 08ba7cc + 1a7316b commit 6e620a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ const videoStyles = (width: number, height: number) => css`
2828
display: block;
2929
height: auto;
3030
width: 100%;
31+
max-height: 100vh;
32+
max-height: 100svh;
3133
cursor: pointer;
3234
/* Prevents CLS by letting the browser know the space the video will take up. */
3335
aspect-ratio: ${width} / ${height};

0 commit comments

Comments
 (0)