Skip to content

Commit 4ec9eda

Browse files
committed
chore: video style
1 parent 350959a commit 4ec9eda

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

storybook/dist/styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,16 +2545,20 @@ input[type="radio"] + span::before {
25452545
}
25462546
.media-video img,
25472547
.media-video iframe {
2548-
position: absolute;
25492548
top: 0;
25502549
left: 0;
25512550
width: 100%;
25522551
height: 100%;
2552+
aspect-ratio: 16 / 9;
25532553
}
25542554
.media-video img {
2555+
position: absolute;
25552556
-o-object-fit: cover;
25562557
object-fit: cover;
25572558
}
2559+
.media-video iframe {
2560+
position: static;
2561+
}
25582562
.slide {
25592563
padding-top: 48px;
25602564
padding-top: var(--space-600);

0 commit comments

Comments
 (0)