fix: keep session labels readable

This commit is contained in:
Thomas Camlong committed 2026-08-02 17:41:27 +02:00
1 parent fd024e32d2
commit f9aae23f46
1 file changed
+8 -1
@@ -75,7 +75,14 @@ export default function AudioStatsWidget({
{currentlyPlaying.seasonName ?? currentlyPlaying.albumName ?? session.user.username}
</Text>
</Stack>
<Badge variant="light" maw="40%" style={{ flexShrink: 0 }} title={session.sessionName}>
<Badge
variant="light"
maw="40%"
h="auto"
py={4}
style={{ flexShrink: 0 }}
styles={{ label: { whiteSpace: "normal", overflowWrap: "anywhere", lineHeight: 1.2 } }}
>
{session.sessionName}
</Badge>
</Group>