The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): make paused project dashboard view responsive on mobile (#45068)
Ali Waseem9c716a6a483f
diff --git a/apps/studio/components/interfaces/Home/Home.tsx b/apps/studio/components/interfaces/Home/Home.tsxindex 90da1c77469..eabd814ca5e 100644--- a/apps/studio/components/interfaces/Home/Home.tsx+++ b/apps/studio/components/interfaces/Home/Home.tsx@@ -100,7 +100,7 @@ export const Home = () => {if (isPaused) {return (- <div className="w-full h-full flex items-center justify-center">+ <div className="w-full h-full flex items-center justify-center px-4"><ProjectPausedState /></div>)diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsxindex 90b0ee5af66..cf092a48f85 100644--- a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx@@ -164,7 +164,7 @@ export const PauseDisabledState = () => {</ul></div></Admonition>- <div className="border-t flex justify-between items-center px-6 py-4 bg-alternative">+ <div className="border-t flex flex-col gap-3 sm:flex-row sm:justify-between sm:items-center px-6 py-4 bg-alternative"><div><p className="text-sm">Export your data</p><p className="text-sm text-foreground-lighter">diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsxindex ea4787ca574..c0ffda0c980 100644--- a/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/ProjectPausedState.tsx@@ -141,7 +141,7 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {return (<>- <Card className="w-[40rem] mx-auto">+ <Card className="w-full max-w-[40rem] mx-auto"><CardContent><PauseCirclesize={48}@@ -235,7 +235,7 @@ export const ProjectPausedState = ({ product }: ProjectPausedStateProps) => {)}{isPauseStatusSuccess && !isRestoreDisabled && (- <CardFooter className="flex justify-end items-center gap-x-2">+ <CardFooter className="flex flex-wrap justify-end items-center gap-2"><ButtonTooltipsize="tiny"type="default"diff --git a/apps/studio/components/layouts/ProjectLayout/index.tsx b/apps/studio/components/layouts/ProjectLayout/index.tsxindex 615020057be..10f2ad0ced4 100644--- a/apps/studio/components/layouts/ProjectLayout/index.tsx+++ b/apps/studio/components/layouts/ProjectLayout/index.tsx@@ -266,7 +266,7 @@ export const ProjectLayout = forwardRef<HTMLDivElement, PropsWithChildren<Projecref={combinedRef}>{showPausedState ? (- <div className="mx-auto my-16 w-full h-full max-w-7xl flex items-center">+ <div className="mx-auto my-16 w-full h-full max-w-7xl flex items-center px-4"><div className="w-full"><ProjectPausedState product={product} /></div>