mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates (#1419)
* feat: TrackList 高亮播放中Track & Track 子标题(歌名翻译) * fix: 不对id为0的歌手应用下划线 * feat: TrackList的Track支持深色模式 * fix: typo * feat: 专辑页面的subtitle支持深色模式 * fix: typo * feat: 在TrackList中高亮播放Track里的歌手信息
This commit is contained in:
parent
e3486ab550
commit
08abf8229f
4 changed files with 83 additions and 28 deletions
|
|
@ -11,7 +11,9 @@ const ArtistInline = ({
|
|||
<div className={classNames('flex truncate', className)}>
|
||||
{artists.map((artist, index) => (
|
||||
<span key={artist.id}>
|
||||
<span className='hover:underline'>{artist.name}</span>
|
||||
<span className={classNames({ 'hover:underline': !!artist.id })}>
|
||||
{artist.name}
|
||||
</span>
|
||||
{index < artists.length - 1 ? ', ' : ''}
|
||||
</span>
|
||||
))}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue