Limit share size while handling theme properly (#2171)
* limit player to 768 px Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com> * fix size limitation --------- Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
This commit is contained in:
parent
b129cae0d8
commit
8b93962fad
|
@ -10,9 +10,14 @@ const useStyle = makeStyles({
|
||||||
pointerEvents: (props) => props.single && 'none',
|
pointerEvents: (props) => props.single && 'none',
|
||||||
opacity: (props) => props.single && 0.65,
|
opacity: (props) => props.single && 0.65,
|
||||||
},
|
},
|
||||||
'& .react-jinke-music-player-mobile': {
|
'@media (min-width: 768px)': {
|
||||||
maxWidth: 768,
|
'& .react-jinke-music-player-mobile > div': {
|
||||||
margin: 'auto',
|
width: 768,
|
||||||
|
margin: 'auto',
|
||||||
|
},
|
||||||
|
'& .react-jinke-music-player-mobile-cover': {
|
||||||
|
width: 'auto !important',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue