perf(styles): Player 播放列表 padding-right

feature/artists
mackt 7 months ago
parent 507fe08cb6
commit fb45cc1d0f

@ -68,7 +68,7 @@ export default function SongCardList({ height, listInfo, songList, className, co
function Item({ index, style }: { index: number; style: React.CSSProperties }) { function Item({ index, style }: { index: number; style: React.CSSProperties }) {
const item = songList[index]; const item = songList[index];
return ( return (
<div key={item?.id} style={style}> <div key={item?.id} style={style} className="pr-14px">
<SongCard <SongCard
{...item} {...item}
playState={playState} playState={playState}
@ -86,7 +86,7 @@ export default function SongCardList({ height, listInfo, songList, className, co
height={height} height={height}
itemSize={() => 72} itemSize={() => 72}
width={712} width={712}
className={`pr-14px ${styles.SongList} ${className}`} className={`${styles.SongList} ${className}`}
style={style} style={style}
> >
{Item} {Item}

Loading…
Cancel
Save