Skip to content

Commit 97d5641

Browse files
committed
layout: Use full width
1 parent 0ea85e3 commit 97d5641

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { cn } from '../../lib/utils'
77
const Header: FC<PropsWithChildren> = ({ children }) => (
88
<header className="mt-0 sticky md:static z-50 top-0">
99
<nav className="md:h-16 px-3 md:px-6 py-2.5 bg-background border-b border-border shadow-sm flex items-center">
10-
<div className="w-full max-w-[96rem] mx-auto flex">{children}</div>
10+
<div className="w-full flex">{children}</div>
1111
</nav>
1212
</header>
1313
)
@@ -59,7 +59,7 @@ export const Layout: FC<PropsWithChildren<LayoutProps>> = ({
5959
const isMobile = useIsMobile()
6060

6161
const layoutContent = (
62-
<div className={cn('w-full max-w-[96rem] mx-auto flex flex-col min-h-[800px] md:max-h-dvh', className)}>
62+
<div className={cn('w-full flex flex-col min-h-screen', className)}>
6363
{headerContent && <Header>{headerContent}</Header>}
6464

6565
{isMobile && (

0 commit comments

Comments
 (0)