Fix badge text ellipsis

This commit is contained in:
Sam Becker 2025-02-03 17:34:42 -06:00
parent ab6056999b
commit 428f7ead0b

View File

@ -51,7 +51,9 @@ export default function Badge({
className,
)}>
<span className={clsx(
'max-w-full truncate',
'max-w-full inline-flex',
// Truncate 1 + 2 levels deep
'truncate [&>*]:truncate',
dimContent && 'opacity-50',
)}>
{children}