Skip to content

Commit c67ea04

Browse files
authored
fix(video-player): apply rounded corners to video player container (#12644)
* fix(video-player): apply rounded corners to video player container * chore: run yarn format
1 parent 756ba45 commit c67ea04

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
@@ -116,6 +116,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
116116
.#{$c4d-prefix}--video-player__video-container {
117117
position: relative;
118118
display: block;
119+
border-radius: $radius-sm;
119120
inline-size: 100%;
120121

121122
&:focus {
@@ -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)