Skip to content

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

Truncate table names (#23240)

Terry Sutton9cb5ad308393
diff --git a/apps/studio/components/interfaces/Database/Tables/TableList.tsx b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
index c973aa89c73..d7b8558e492 100644
--- a/apps/studio/components/interfaces/Database/Tables/TableList.tsx
+++ b/apps/studio/components/interfaces/Database/Tables/TableList.tsx
@@ -230,9 +230,11 @@ const TableList = ({
<p>{x.name}</p>
)}
</Table.td>
- <Table.td className="hidden max-w-sm truncate lg:table-cell break-all whitespace-normal">
+ <Table.td className="hidden lg:table-cell ">
{x.comment !== null ? (
- <p title={x.comment}>{x.comment}</p>
+ <span className="lg:max-w-48 truncate inline-block" title={x.comment}>
+ {x.comment}
+ </span>
) : (
<p className="text-border-stronger">No description</p>
)}