mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-08 21:32:59 +02:00
fix additional instances of JoinedArtists not truncating
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import styles from './artists-column.module.css';
|
||||
import { ItemDetailListCellProps } from './types';
|
||||
|
||||
import {
|
||||
@@ -17,7 +18,10 @@ export const AlbumArtistColumn = ({ isRowHovered, song }: ItemDetailListCellProp
|
||||
artists={song.albumArtists ?? []}
|
||||
linkProps={JOINED_ARTISTS_MUTED_PROPS.linkProps}
|
||||
readOnly={!isRowHovered}
|
||||
rootTextProps={JOINED_ARTISTS_MUTED_PROPS.rootTextProps}
|
||||
rootTextProps={{
|
||||
...JOINED_ARTISTS_MUTED_PROPS.rootTextProps,
|
||||
className: styles.artists,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import styles from './artists-column.module.css';
|
||||
import { ItemDetailListCellProps } from './types';
|
||||
|
||||
import {
|
||||
@@ -17,7 +18,10 @@ export const ArtistColumn = ({ isRowHovered, song }: ItemDetailListCellProps) =>
|
||||
artists={song.artists ?? []}
|
||||
linkProps={JOINED_ARTISTS_MUTED_PROPS.linkProps}
|
||||
readOnly={!isRowHovered}
|
||||
rootTextProps={JOINED_ARTISTS_MUTED_PROPS.rootTextProps}
|
||||
rootTextProps={{
|
||||
...JOINED_ARTISTS_MUTED_PROPS.rootTextProps,
|
||||
className: styles.artists,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
.artists {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.artists,
|
||||
.artists > * {
|
||||
white-space: nowrap;
|
||||
}
|
||||
Reference in New Issue
Block a user