mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +02:00
force single line on feature carousel artist
This commit is contained in:
@@ -177,6 +177,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.artist {
|
.artist {
|
||||||
|
width: 100%;
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: 0 0 8px rgb(0 0 0 / 50%);
|
text-shadow: 0 0 8px rgb(0 0 0 / 50%);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,13 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
|
|||||||
<div className={styles.metadataSection}>
|
<div className={styles.metadataSection}>
|
||||||
<Stack gap="sm">
|
<Stack gap="sm">
|
||||||
{album.albumArtists?.[0] && (
|
{album.albumArtists?.[0] && (
|
||||||
<Text className={styles.artist} fw={500} size="md">
|
<Text
|
||||||
|
className={styles.artist}
|
||||||
|
fw={500}
|
||||||
|
lineClamp={1}
|
||||||
|
size="md"
|
||||||
|
ta="center"
|
||||||
|
>
|
||||||
{album.albumArtists[0].name}
|
{album.albumArtists[0].name}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user