improved aspect ratio for videos on the file page

This commit is contained in:
Akinwale Ariwodola 2018-08-13 08:48:06 +01:00
parent a4e6025607
commit 1ebac0df21

View file

@ -30,7 +30,7 @@ const filePageStyle = StyleSheet.create({
mediaContainer: { mediaContainer: {
alignItems: 'center', alignItems: 'center',
width: screenWidth, width: screenWidth,
height: 220 height: 240
}, },
emptyClaimText: { emptyClaimText: {
fontFamily: 'Metropolis-Regular', fontFamily: 'Metropolis-Regular',
@ -75,7 +75,7 @@ const filePageStyle = StyleSheet.create({
}, },
thumbnail: { thumbnail: {
width: screenWidth, width: screenWidth,
height: 204, height: 224,
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center' alignItems: 'center'
}, },
@ -92,7 +92,7 @@ const filePageStyle = StyleSheet.create({
}, },
containedPlayer: { containedPlayer: {
width: '100%', width: '100%',
height: 220, height: 240,
}, },
containedPlayerLandscape: { containedPlayerLandscape: {
width: '100%', width: '100%',