Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ReactPlayer/ReactPlayer.scss
Original file line number Diff line number Diff line change
@@ -76,6 +76,10 @@ $block: '.#{$ns}ReactPlayer';
object-fit: contain;
}

&_auto-ratio video {
object-fit: cover;
}

@media only screen and (max-width: map-get($gridBreakpoints, 'sm')) {
&__button_text {
font-size: 20px;
1 change: 1 addition & 0 deletions src/components/ReactPlayer/ReactPlayer.tsx
Original file line number Diff line number Diff line change
@@ -384,6 +384,7 @@ export const ReactPlayerBlock = React.forwardRef<ReactPlayerBlockHandler, ReactP
wrapper: !currentHeight,
controls,
contain,
'auto-ratio': autoRatio,
},
className,
)}

0 comments on commit 986ed15

Please sign in to comment.