Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix height issue (#21210)

Joshen Limaa76203400bd
diff --git a/apps/studio/components/layouts/AccountLayout/AccountLayout.tsx b/apps/studio/components/layouts/AccountLayout/AccountLayout.tsx
index c8c652542b7..c86089cdf14 100644
--- a/apps/studio/components/layouts/AccountLayout/AccountLayout.tsx
+++ b/apps/studio/components/layouts/AccountLayout/AccountLayout.tsx
@@ -151,16 +151,14 @@ const AccountLayout = ({ children, title, breadcrumbs }: PropsWithChildren<Accou
<meta name="description" content="Supabase Studio" />
</Head>
<div className="h-full min-h-[0px] basis-0 flex-1">
- <div className="flex flex-col h-full min-h-[0px] basis-0 flex-1">
- <WithSidebar
- hideSidebar={navLayoutV2}
- title={title}
- breadcrumbs={breadcrumbs}
- sections={sectionsWithHeaders}
- >
- {children}
- </WithSidebar>
- </div>
+ <WithSidebar
+ hideSidebar={navLayoutV2}
+ title={title}
+ breadcrumbs={breadcrumbs}
+ sections={sectionsWithHeaders}
+ >
+ {children}
+ </WithSidebar>
</div>
</>
)
diff --git a/apps/studio/components/layouts/AccountLayout/WithSidebar.tsx b/apps/studio/components/layouts/AccountLayout/WithSidebar.tsx
index 50063e4c1d4..cd24a27ae7f 100644
--- a/apps/studio/components/layouts/AccountLayout/WithSidebar.tsx
+++ b/apps/studio/components/layouts/AccountLayout/WithSidebar.tsx
@@ -34,7 +34,7 @@ const WithSidebar = ({
const navLayoutV2 = useFlag('navigationLayoutV2')
return (
- <div className="flex max-h-full">
+ <div className="flex h-full">
{!hideSidebar && !noContent && (
<div
id="with-sidebar"
@@ -80,7 +80,7 @@ const WithSidebar = ({
)}
<div className="flex flex-1 flex-col">
{!navLayoutV2 && <LayoutHeader breadcrumbs={breadcrumbs} />}
- <div className="flex-1 flex-grow overflow-auto">{children}</div>
+ <div className="flex-1 flex-grow overflow-y-auto">{children}</div>
</div>
</div>
)
diff --git a/apps/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx b/apps/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx
index 8c0c63f9956..ab4a2a02a77 100644
--- a/apps/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/ProductMenuBar.tsx
@@ -9,8 +9,7 @@ const ProductMenuBar = ({ title, children }: PropsWithChildren<ProductMenuBarPro
<div
className={[
'hide-scrollbar flex w-64 flex-col border-r', // Layout
- 'bg-background',
- 'border-default ',
+ 'bg-background border-default',
].join(' ')}
>
<div