Skip to content

Commit a212838

Browse files
committed
fix(video-player): apply rounded corners to video player container
1 parent 756ba45 commit a212838

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/styles/scss/components/video-player/_video-player.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
117117
position: relative;
118118
display: block;
119119
inline-size: 100%;
120+
border-radius: $radius-sm;
120121

121122
&:focus {
122123
outline: none;
@@ -137,8 +138,6 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
137138
&.#{$c4d-prefix}--video-player__aspect-ratio {
138139
&--#{$width}x#{$height} {
139140
@include ratio-base($width, $height, true);
140-
141-
overflow: visible;
142141
}
143142
}
144143
}

0 commit comments

Comments
 (0)