Skip to content

Commit 5ee3c9c

Browse files
authored
fix: youtube dimensions ratio for large screens (#151)
* fix: youtube dimensions ratio for large screens * fix: use variable
1 parent 7badb53 commit 5ee3c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FullscreenMedia/FullScreenMedia.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$block: '.#{$ns}full-screen-media';
55
$closeButtonSize: 36px;
66
$modalMediaHeight: 70vh;
7-
$modalYoutubeWidth: 70vw;
7+
$modalYoutubeWidth: min(65vw, #{$newContentWidth});
88

99
%modal-media {
1010
display: block;

0 commit comments

Comments
 (0)