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

Loading…
Cancel
Save