Skip to content

Commit

Permalink
fix: overflowing clickable artists links
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Jun 25, 2023
1 parent ea401cf commit 4077fac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class TrackCollectionView<T> extends HookConsumerWidget {
kIsMobile ? const BackButton(color: Colors.white) : null,
iconTheme: IconThemeData(color: color?.titleTextColor),
primary: true,
backgroundColor: color?.color.withOpacity(.5),
backgroundColor: color?.color.withOpacity(.8),
title: collapsed.value
? Text(
title,
Expand Down
9 changes: 7 additions & 2 deletions lib/components/shared/track_table/track_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,13 @@ class TrackTile extends HookConsumerWidget {
track.artists ?? [],
),
)
: TypeConversionUtils.artists_X_ClickableArtists(
track.artists ?? [],
: ClipRect(
child: ConstrainedBox(
constraints: const BoxConstraints(maxHeight: 40),
child: TypeConversionUtils.artists_X_ClickableArtists(
track.artists ?? [],
),
),
),
),
trailing: Row(
Expand Down

0 comments on commit 4077fac

Please sign in to comment.