mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-24 23:50:56 +03:00
Fix aspect ratio in Album show view
This commit is contained in:
parent
69b2fe92f5
commit
a89afb5fcf
@ -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),
|
||||
|
@ -77,7 +77,7 @@ const useCoverStyles = makeStyles({
|
||||
cover: {
|
||||
display: 'inline-block',
|
||||
width: '100%',
|
||||
'object-fit': 'contain',
|
||||
objectFit: 'contain',
|
||||
height: (props) => props.height,
|
||||
},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user