We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab86fe commit dded63bCopy full SHA for dded63b
dotcom-rendering/src/components/LoopVideoPlayer.tsx
@@ -9,9 +9,9 @@ import { LoopVideoProgressBar } from './LoopVideoProgressBar';
9
10
const videoStyles = (width: number, height: number) => css`
11
position: relative;
12
+ display: flex;
13
+ height: auto;
14
width: 100%;
- /* Find out why this is needed to align the video with its container. */
- margin-bottom: -3px;
15
cursor: pointer;
16
/* Prevents CLS by letting the browser know the space the video will take up. */
17
aspect-ratio: ${width} / ${height};
0 commit comments