mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-26 16:32:18 +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: {
|
cover: {
|
||||||
|
objectFit: 'contain',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
display: 'block',
|
display: 'block',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: 'auto',
|
height: '100%',
|
||||||
},
|
},
|
||||||
starButton: {
|
starButton: {
|
||||||
top: theme.spacing(-0.2),
|
top: theme.spacing(-0.2),
|
||||||
|
@ -77,7 +77,7 @@ const useCoverStyles = makeStyles({
|
|||||||
cover: {
|
cover: {
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
'object-fit': 'contain',
|
objectFit: 'contain',
|
||||||
height: (props) => props.height,
|
height: (props) => props.height,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user