* refactored some styles in jinkieplayer * fix: refactored some styles in jinkie player and removed br tag - #865 * fix: refactored some styles in jinkie player and removed br tag - #865 Signed-off-by: armedev <epiratesdev@gmail.com>
This commit is contained in:
@@ -35,6 +35,9 @@ const useStyle = makeStyles(
|
|||||||
'&.songTitle': {
|
'&.songTitle': {
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
},
|
},
|
||||||
|
'&.songInfo': {
|
||||||
|
display: 'block',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
qualityInfo: {
|
qualityInfo: {
|
||||||
marginTop: '-4px',
|
marginTop: '-4px',
|
||||||
@@ -48,13 +51,17 @@ const useStyle = makeStyles(
|
|||||||
},
|
},
|
||||||
player: {
|
player: {
|
||||||
display: (props) => (props.visible ? 'block' : 'none'),
|
display: (props) => (props.visible ? 'block' : 'none'),
|
||||||
|
'& .progress-bar-content': {
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
},
|
},
|
||||||
artistAlbum: {
|
|
||||||
marginTop: '2px',
|
|
||||||
'& .play-mode-title': {
|
'& .play-mode-title': {
|
||||||
'pointer-events': 'none',
|
'pointer-events': 'none',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
artistAlbum: {
|
||||||
|
marginTop: '2px',
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
{ name: 'NDAudioPlayer' }
|
{ name: 'NDAudioPlayer' }
|
||||||
)
|
)
|
||||||
@@ -81,14 +88,11 @@ const AudioTitle = React.memo(({ audioInfo, isMobile }) => {
|
|||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
{!isMobile && (
|
{!isMobile && (
|
||||||
<>
|
|
||||||
<br />
|
|
||||||
<div className={classes.artistAlbum}>
|
<div className={classes.artistAlbum}>
|
||||||
<span className={`${className} songInfo`}>
|
<span className={`${className} songInfo`}>
|
||||||
{`${audioInfo.singer} - ${audioInfo.album}`}
|
{`${audioInfo.singer} - ${audioInfo.album}`}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user