We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c52ad85 + 2713df6 commit 1a7316bCopy full SHA for 1a7316b
1 file changed
dotcom-rendering/src/components/SelfHostedVideoPlayer.tsx
@@ -28,6 +28,8 @@ const videoStyles = (width: number, height: number) => css`
28
display: block;
29
height: auto;
30
width: 100%;
31
+ max-height: 100vh;
32
+ max-height: 100svh;
33
cursor: pointer;
34
/* Prevents CLS by letting the browser know the space the video will take up. */
35
aspect-ratio: ${width} / ${height};
0 commit comments