Fix badge text ellipsis
This commit is contained in:
parent
ab6056999b
commit
428f7ead0b
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user