Fix aspect ratio in Album show view

This commit is contained in:
Deluan 2020-11-22 15:01:08 -05:00 committed by Deluan Quintão
parent 69b2fe92f5
commit a89afb5fcf
2 changed files with 3 additions and 2 deletions

View File

@ -63,10 +63,11 @@ const useStyles = makeStyles((theme) => ({
},
},
cover: {
objectFit: 'contain',
cursor: 'pointer',
display: 'block',
width: '100%',
height: 'auto',
height: '100%',
},
starButton: {
top: theme.spacing(-0.2),

View File

@ -77,7 +77,7 @@ const useCoverStyles = makeStyles({
cover: {
display: 'inline-block',
width: '100%',
'object-fit': 'contain',
objectFit: 'contain',
height: (props) => props.height,
},
})