Skip to content
Snippets Groups Projects
Verified Commit e366a537 authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Fit video to available space

parent 55350dc3
Branches 15-api-for-annotations-on-video
No related tags found
No related merge requests found
Pipeline #1257 failed
...@@ -48,11 +48,7 @@ const styles = () => ({ ...@@ -48,11 +48,7 @@ const styles = () => ({
width: '100%', width: '100%',
}, },
video: { video: {
height: '100%', height: 'auto',
maxHeight: '100%',
maxWidth: '100%',
'object-fit': 'contain', // 'scale-down',
'object-position': 'left top',
width: '100%', width: '100%',
}, },
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment