diff --git a/src/renderer/components/item-list/item-table-list/columns/title-combined-column.module.css b/src/renderer/components/item-list/item-table-list/columns/title-combined-column.module.css index 876c0c6f7..4225bd339 100644 --- a/src/renderer/components/item-list/item-table-list/columns/title-combined-column.module.css +++ b/src/renderer/components/item-list/item-table-list/columns/title-combined-column.module.css @@ -34,16 +34,29 @@ } .title { - display: inline-block; + display: block; width: 100%; + min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + + --text-text-wrap: nowrap; } a.title { - width: auto; + width: 100%; + max-width: 100%; +} + +.track-subtitle { + font-size: var(--theme-font-size-sm); + color: var(--theme-colors-foreground-muted); +} + +.track-subtitle.active { + color: inherit; } diff --git a/src/renderer/components/item-list/item-table-list/columns/title-combined-column.tsx b/src/renderer/components/item-list/item-table-list/columns/title-combined-column.tsx index 63f34793e..42a71da18 100644 --- a/src/renderer/components/item-list/item-table-list/columns/title-combined-column.tsx +++ b/src/renderer/components/item-list/item-table-list/columns/title-combined-column.tsx @@ -150,7 +150,13 @@ export const DefaultTitleCombinedColumn = (props: ItemTableListInnerColumn) => { [styles.compact]: props.size === 'compact', })} > - + {item.name as string} @@ -309,23 +315,21 @@ export const QueueSongTitleCombinedColumn = (props: ItemTableListInnerColumn) => })} isNoSelect size="md" + truncate {...titleLinkProps} > {row.name as string} {song?.trackSubtitle && props.itemType !== LibraryItem.QUEUE_SONG && ( - {' ('} {song.trackSubtitle} {')'} - + )}
@@ -370,6 +374,7 @@ export const QueueSongTitleCombinedColumn = (props: ItemTableListInnerColumn) => className={styles.title} isNoSelect size="md" + truncate {...titleLinkProps} style={textStyles} >