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 Lim3f9509401f8e
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsxindex 724bd19035e..64b27610a4a 100644--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsx+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/ReferenceRowViewer.tsx@@ -47,26 +47,28 @@ const ReferenceRowViewer: FC<Props> = ({ visible, referenceRow, closePanel }) =>customFooter={<ActionBar backButtonLabel="Close" closePanel={closePanel} />}><SidePanel.Content>- {loading ? (- <div className="flex flex-col items-center justify-center space-y-2 h-full">- <IconLoader className="animate-spin" />- <p className="text-sm text-scale-1100">Loading reference row</p>- </div>- ) : !row ? (- <div className="flex flex-col items-center justify-center space-y-2 h-full">- <IconXCircle />- <p className="text-sm text-scale-1100">- Unable to find the corresponding row in {foreignKey?.target_table_schema}.- {foreignKey?.target_table_name}- </p>- </div>- ) : (- <div className="space-y-6">- {rowFields.map((field: RowField) => {- return <InputField key={field.id} field={field} isEditable={false} errors={{}} />- })}- </div>- )}+ <div className="py-6">+ {loading ? (+ <div className="flex h-full flex-col items-center justify-center space-y-2">+ <IconLoader className="animate-spin" />+ <p className="text-scale-1100 text-sm">Loading reference row</p>+ </div>+ ) : !row ? (+ <div className="flex h-full flex-col items-center justify-center space-y-2">+ <IconXCircle />+ <p className="text-scale-1100 text-sm">+ Unable to find the corresponding row in {foreignKey?.target_table_schema}.+ {foreignKey?.target_table_name}+ </p>+ </div>+ ) : (+ <div className="space-y-6">+ {rowFields.map((field: RowField) => {+ return <InputField key={field.id} field={field} isEditable={false} errors={{}} />+ })}+ </div>+ )}+ </div></SidePanel.Content></SidePanel>)