Skip to content

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

bug fix: test overflow in sql editor sidebar

Suhel Abdulla39c358afd579
diff --git a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
index 0edfef44d9b..0246eaf711b 100644
--- a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
+++ b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
@@ -64,10 +64,10 @@ const QueryItem = ({ tabInfo }: QueryItemProps) => {
ref={isActive ? (activeItemRef as React.RefObject<HTMLDivElement>) : null}
>
<Link href={`/project/${ref}/sql/${id}`}>
- <a className="py-1 px-3 w-full">
+ <a className="py-1 px-3 w-full overflow-hidden">
<p
title={description || name}
- className="text-sm text-scale-1100 group-hover:text-scale-1200 transition"
+ className="text-sm text-scale-1100 group-hover:text-scale-1200 transition overflow-hidden overflow-hidden truncate"
>
{name}
</p>