The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix back button on update page
Joshen Limcbdb7ab7773b
diff --git a/studio/components/interfaces/Billing/EnterpriseUpdate.tsx b/studio/components/interfaces/Billing/EnterpriseUpdate.tsxindex 969b5d58993..692007e2ae3 100644--- a/studio/components/interfaces/Billing/EnterpriseUpdate.tsx+++ b/studio/components/interfaces/Billing/EnterpriseUpdate.tsx@@ -228,12 +228,12 @@ const EnterpriseUpdate: FC<Props> = ({<div className="flex-grow mt-10"><div className="relative space-y-4"><div className="space-y-8">- <div className="space-y-4 2xl:min-w-5xl mx-auto px-32">+ <div className="space-y-4 2xl:max-w-5xl mx-auto px-32"><h4 className="text-lg text-scale-900 !mb-8">Change your project's subscription</h4></div><div- className="space-y-8 overflow-y-auto pb-8 2xl:min-w-5xl mx-auto px-32"+ className="space-y-8 overflow-y-auto pb-8 2xl:max-w-5xl mx-auto px-32"style={{ height: 'calc(100vh - 6.4rem - 57px)' }}><h3 className="text-xl">diff --git a/studio/components/interfaces/Billing/ProUpgrade.tsx b/studio/components/interfaces/Billing/ProUpgrade.tsxindex b4cf2635051..87d181d188e 100644--- a/studio/components/interfaces/Billing/ProUpgrade.tsx+++ b/studio/components/interfaces/Billing/ProUpgrade.tsx@@ -231,13 +231,13 @@ const ProUpgrade: FC<Props> = ({><div className="flex-grow mt-10"><div className="relative space-y-4">- <div className="px-32 mx-auto space-y-4 2xl:min-w-5xl">+ <div className="relative px-32 mx-auto space-y-4 2xl:max-w-5xl"><BackButton onClick={() => onSelectBack()} /><h4 className="text-lg text-scale-900 !mb-8">Change your project's subscription</h4></div><div- className="px-32 pb-8 mx-auto space-y-8 overflow-y-auto 2xl:min-w-5xl"+ className="px-32 pb-8 mx-auto space-y-8 overflow-y-auto 2xl:max-w-5xl"style={{ height: 'calc(100vh - 9rem - 57px)' }}><div className="space-y-2">diff --git a/studio/components/interfaces/Billing/TeamUpgrade.tsx b/studio/components/interfaces/Billing/TeamUpgrade.tsxindex 7cc18e7847a..1c310177f1d 100644--- a/studio/components/interfaces/Billing/TeamUpgrade.tsx+++ b/studio/components/interfaces/Billing/TeamUpgrade.tsx@@ -223,13 +223,13 @@ const TeamUpgrade: FC<Props> = ({><div className="flex-grow mt-10"><div className="relative space-y-4">- <div className="px-32 mx-auto space-y-4 2xl:min-w-5xl">+ <div className="px-32 mx-auto space-y-4 2xl:max-w-5xl"><BackButton onClick={() => onSelectBack()} /><h4 className="text-lg text-scale-900 !mb-8">Change your project's subscription</h4></div><div- className="px-32 pb-8 mx-auto space-y-8 overflow-y-auto 2xl:min-w-5xl"+ className="px-32 pb-8 mx-auto space-y-8 overflow-y-auto 2xl:max-w-5xl"style={{ height: 'calc(100vh - 9rem - 57px)' }}><div className="space-y-2">diff --git a/studio/components/ui/BackButton.tsx b/studio/components/ui/BackButton.tsxindex 0ae4923d8e7..5460c16a203 100644--- a/studio/components/ui/BackButton.tsx+++ b/studio/components/ui/BackButton.tsx@@ -2,7 +2,7 @@ import { Button, IconArrowLeft } from 'ui'export function BackButton({ onClick }: { onClick: () => void }) {return (- <div className="-ml-2 2xl:absolute 2xl:top-[2px] 2xl:-left-24">+ <div className="-ml-2 2xl:absolute 2xl:top-[2px] 2xl:left-0"><Button type="text" icon={<IconArrowLeft />} onClick={onClick}>Back</Button>