The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Small style fix
Joshen Lim5279e3796e79
diff --git a/packages/ui/src/components/Listbox/Listbox2.tsx b/packages/ui/src/components/Listbox/Listbox2.tsxindex 9ed1d8258d1..e2c07fb6a7d 100644--- a/packages/ui/src/components/Listbox/Listbox2.tsx+++ b/packages/ui/src/components/Listbox/Listbox2.tsx@@ -102,6 +102,9 @@ function Listbox({function handleResize() {// Set window width/height to state+ // [Joshen] Note this causes some style conflicts if there are multiple listboxes+ // rendered on the same page. All listbox option widths will be that of the latest+ // listbox component that got rendered, rather than following its parentdocument.documentElement.style.setProperty('--width-listbox',`${optionsWidth ? optionsWidth : triggerRef.current?.offsetWidth}px`diff --git a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsxindex c143cfa0398..8c743e34913 100644--- a/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx+++ b/studio/components/layouts/TableEditorLayout/TableEditorMenu.tsx@@ -119,7 +119,13 @@ const TableEditorMenu = ({onSelectSchema(name)}}>- <Listbox.Option disabled key="normal-schemas" value="normal-schemas" label="Schemas">+ <Listbox.Option+ disabled+ key="normal-schemas"+ value="normal-schemas"+ label="Schemas"+ className="!w-[200px]"+ ><p className="text-xs text-scale-1100">Schemas</p></Listbox.Option>{openSchemas.map((schema) => (@@ -127,6 +133,7 @@ const TableEditorMenu = ({key={schema.id}value={schema.name}label={schema.name}+ className="!w-[200px]"addOnBefore={() => <span className="text-scale-900 text-xs">schema</span>}><span className="text-scale-1200 text-xs">{schema.name}</span>@@ -137,6 +144,7 @@ const TableEditorMenu = ({key="protected-schemas"value="protected-schemas"label="Protected schemas"+ className="!w-[200px]"><p className="text-xs text-scale-1100">Protected schemas</p></Listbox.Option>@@ -145,6 +153,7 @@ const TableEditorMenu = ({key={schema.id}value={schema.name}label={schema.name}+ className="!w-[200px]"addOnBefore={() => <span className="text-scale-900 text-xs">schema</span>}><span className="text-scale-1200 text-xs">{schema.name}</span>