Merge pull request #228 from lbryio/media-aspect-ratio

improved aspect ratio for videos on the file page
This commit is contained in:
Akinwale Ariwodola 2018-08-13 09:59:32 +01:00 committed by GitHub
commit 8ed87d0739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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%',