fix badge layout

This commit is contained in:
Athou
2024-08-12 21:13:46 +02:00
parent cc69968d78
commit 906c92e54f

View File

@@ -18,7 +18,7 @@ export function UnreadCount(props: { unreadCount: number }) {
const count = props.unreadCount >= 10000 ? "10k+" : props.unreadCount
return (
<Tooltip label={props.unreadCount} disabled={props.unreadCount === count} openDelay={Constants.tooltip.delay}>
<Badge className={classes.badge} variant="light">
<Badge className={classes.badge} variant="light" fullWidth>
{count}
</Badge>
</Tooltip>