diff --git a/apps/studio/components/layouts/DefaultLayout.tsx b/apps/studio/components/layouts/DefaultLayout.tsx index 630f6fee100..42b9c00aff7 100644 --- a/apps/studio/components/layouts/DefaultLayout.tsx +++ b/apps/studio/components/layouts/DefaultLayout.tsx @@ -1,4 +1,4 @@ -import { LOCAL_STORAGE_KEYS, useParams } from 'common' +import { LOCAL_STORAGE_KEYS, useBreakpoint, useParams } from 'common' import { useRouter } from 'next/router' import { PropsWithChildren, useEffect, useState } from 'react' import { ResizablePanel, ResizablePanelGroup, SidebarProvider } from 'ui' @@ -57,6 +57,8 @@ export const DefaultLayout = ({ useCheckLatestDeploy() + const isMobile = useBreakpoint('md') + const contentMinSizePercentage = 50 const contentMaxSizePercentage = 70 @@ -82,10 +84,12 @@ export const DefaultLayout = ({ {/* Top Banner */}
- + {isMobile && ( + + )}
{/* Main Content Area */}