mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix: overflowing clickable artists links
This commit is contained in:
parent
ea401cf5fe
commit
4077fac39f
@ -168,7 +168,7 @@ class TrackCollectionView<T> extends HookConsumerWidget {
|
|||||||
kIsMobile ? const BackButton(color: Colors.white) : null,
|
kIsMobile ? const BackButton(color: Colors.white) : null,
|
||||||
iconTheme: IconThemeData(color: color?.titleTextColor),
|
iconTheme: IconThemeData(color: color?.titleTextColor),
|
||||||
primary: true,
|
primary: true,
|
||||||
backgroundColor: color?.color.withOpacity(.5),
|
backgroundColor: color?.color.withOpacity(.8),
|
||||||
title: collapsed.value
|
title: collapsed.value
|
||||||
? Text(
|
? Text(
|
||||||
title,
|
title,
|
||||||
|
@ -197,8 +197,13 @@ class TrackTile extends HookConsumerWidget {
|
|||||||
track.artists ?? [],
|
track.artists ?? [],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
: TypeConversionUtils.artists_X_ClickableArtists(
|
: ClipRect(
|
||||||
track.artists ?? [],
|
child: ConstrainedBox(
|
||||||
|
constraints: const BoxConstraints(maxHeight: 40),
|
||||||
|
child: TypeConversionUtils.artists_X_ClickableArtists(
|
||||||
|
track.artists ?? [],
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
trailing: Row(
|
trailing: Row(
|
||||||
|
Loading…
Reference in New Issue
Block a user