mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 03:45:06 +03:00
fix: truncate
This commit is contained in:
1 parent
083bcda053
commit
89e17f2fb1
1 file changed
+3
-3
@@ -34,11 +34,11 @@ const ProductMenuItem: FC<Props> = ({
|
||||
<div className="flex w-full items-center justify-between gap-1">
|
||||
<div
|
||||
title={hoverText ? hoverText : typeof name === 'string' ? name : ''}
|
||||
className={'flex items-center gap-2 truncate w-full ' + textClassName}
|
||||
className={'flex items-center gap-2 w-full' + textClassName}
|
||||
>
|
||||
{name}{' '}
|
||||
<span className="truncate">{name}{' '}</span>
|
||||
{label !== undefined && (
|
||||
<span className="text-orange-800 text-xs font-normal">{label}</span>
|
||||
<span className="text-orange-800 text-xs font-normal truncate">{label}</span>
|
||||
)}
|
||||
</div>
|
||||
{action}
|
||||
|
||||
Reference in new issue
Block a user