Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: truncate

Isaiah Hamilton73bd13ea0e19
diff --git a/studio/components/ui/ProductMenu/ProductMenuItem.tsx b/studio/components/ui/ProductMenu/ProductMenuItem.tsx
index a5ac3856dc3..2b8dedb6ec3 100644
--- a/studio/components/ui/ProductMenu/ProductMenuItem.tsx
+++ b/studio/components/ui/ProductMenu/ProductMenuItem.tsx
@@ -60,10 +60,12 @@ 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 w-full ${textClassName}`}
+ className={'flex items-center gap-2 truncate w-full ' + textClassName}
>
- <span className="truncate">{name} </span>
- {label !== undefined && <Label label={label} />}
+ <span className="truncate">{name}{' '}</span>
+ {label !== undefined && (
+ <span className="text-orange-800 text-xs font-normal truncate">{label}</span>
+ )}
</div>
{action}
</div>