The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix styling for wildcard page
Joshen Limb62095927056
diff --git a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx b/studio/components/interfaces/Home/ProjectList/ProjectList.tsxindex 59ff713cca6..56a12e56df0 100644--- a/studio/components/interfaces/Home/ProjectList/ProjectList.tsx+++ b/studio/components/interfaces/Home/ProjectList/ProjectList.tsx@@ -36,12 +36,12 @@ const ProjectList: FC<Props> = ({ rewriteHref }) => {<div className="space-y-3" key={makeRandomString(5)}><h4 className="text-lg">{name}</h4>{isLoadingPermissions || isLoadingProjects ? (- <ul className="mx-auto grid grid-cols-1 gap-4 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 ">+ <ul className="mx-auto grid grid-cols-1 gap-4 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-2 xl:grid-cols-3"><ShimmeringCard /><ShimmeringCard /></ul>) : (- <ul className="mx-auto grid grid-cols-1 gap-4 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 ">+ <ul className="mx-auto grid grid-cols-1 gap-4 sm:grid-cols-1 md:grid-cols-1 lg:grid-cols-2 xl:grid-cols-3">{!canReadProjects ? (<div className="col-span-4 max-w-4xl space-y-4 rounded-lg border-2 border-dashed border-gray-300 py-8 px-6 text-center"><div className="space-y-1">diff --git a/studio/pages/project/_/[[...routeSlug]].tsx b/studio/pages/project/_/[[...routeSlug]].tsxindex c63e4e74c9d..05fd6583827 100644--- a/studio/pages/project/_/[[...routeSlug]].tsx+++ b/studio/pages/project/_/[[...routeSlug]].tsx@@ -48,15 +48,18 @@ const GenericProjectPage: NextPage = () => {}return (- <div>+ <><Header />- <div className="mx-auto w-full max-w-5xl py-8">- <h3 className="text-2xl">Select a project to continue</h3>- <div className="my-6 space-y-8">+ <div className="flex flex-col mx-auto w-full max-w-5xl">+ <h3 className="mt-8 text-2xl">Select a project to continue</h3>+ <div+ className="flex-grow py-6 space-y-8 overflow-y-auto"+ style={{ maxHeight: 'calc(100vh - 49px - 64px)' }}+ ><ProjectList rewriteHref={urlRewriterFactory(routeSlug)} /></div></div>- </div>+ </>)}