The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix height issue on Wizardlayout with new banner
Joshen Lim3b9f4a13abf0
diff --git a/studio/components/interfaces/App/AppBannerWrapper.tsx b/studio/components/interfaces/App/AppBannerWrapper.tsxindex 18f3620840f..e551999db10 100644--- a/studio/components/interfaces/App/AppBannerWrapper.tsx+++ b/studio/components/interfaces/App/AppBannerWrapper.tsx@@ -7,7 +7,7 @@ const AppBannerWrapper: FC = ({ children }) => {const ongoingIncident = useFlag('ongoingIncident')return (- <div className="flex flex-col">+ <div className="flex h-full flex-col">{ongoingIncident && (<Link href="https://status.supabase.com"><a target="_blank">diff --git a/studio/components/layouts/WizardLayout.tsx b/studio/components/layouts/WizardLayout.tsxindex e98105b1e33..6feb3fa30fd 100644--- a/studio/components/layouts/WizardLayout.tsx+++ b/studio/components/layouts/WizardLayout.tsx@@ -1,12 +1,15 @@import { FC } from 'react'import Link from 'next/link'import { IconChevronRight } from '@supabase/ui'-import { withAuth } from 'hooks'+import { withAuth, useFlag } from 'hooks'import { observer } from 'mobx-react-lite'const WizardLayout: FC<any> = ({ organization, project, children }) => {+ const ongoingIncident = useFlag('ongoingIncident')+ const maxHeight = ongoingIncident ? 'calc(100vh - 44px)' : '100vh'+return (- <div className="flex h-full w-full flex-col">+ <div className="flex w-full flex-col" style={{ height: maxHeight, maxHeight }}><Header organization={organization} project={project} /><div className="overflow-auto"><section className="has-slide-in slide-in relative mx-auto my-10 max-w-2xl">