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
No related branches found
No related tags found
1 merge request!8Adapt API for edition of annotations on Video
Pipeline #1237 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