Skip to content

Commit 8dfe6b7

Browse files
committed
fix: remove heart like button in music list
1 parent 53702d7 commit 8dfe6b7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/MusicList/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const MusicList: React.FC<IProps> = ({ data, onPlayAll }) => {
2626
{
2727
title: '',
2828
key: 'name',
29-
width: '100px',
29+
width: '80px',
3030
render: (name: string, record: IMusic, index?: number) => {
3131
return (
3232
<div className={styles.operations}>
@@ -39,7 +39,6 @@ const MusicList: React.FC<IProps> = ({ data, onPlayAll }) => {
3939
{(index || 0) + 1}
4040
</span>
4141
)}
42-
<Icon icon='heart' iconSize={14} />
4342
<Icon icon='import' iconSize={14} />
4443
</div>
4544
)

src/components/MusicList/style.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
color: red;
2727
}
2828

29-
span:nth-child(2), span:nth-child(3) {
29+
span:nth-child(2) {
3030
cursor: pointer;
3131

3232
&:hover {

0 commit comments

Comments
 (0)