fix: keep session labels readable
This commit is contained in:
1 file changed
+8
-1
@@ -75,7 +75,14 @@ export default function AudioStatsWidget({
|
|||||||
{currentlyPlaying.seasonName ?? currentlyPlaying.albumName ?? session.user.username}
|
{currentlyPlaying.seasonName ?? currentlyPlaying.albumName ?? session.user.username}
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</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}
|
{session.sessionName}
|
||||||
</Badge>
|
</Badge>
|
||||||
</Group>
|
</Group>
|
||||||
|
|||||||
Reference in new issue
Block a user