Skip to content

Commit

Permalink
fix: layout change min-h-screen to min-h-dvh
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdancho committed Mar 26, 2024
1 parent fffee0e commit c1e5498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function Layout({ children }: LayoutProps) {
<PopupMenu />
<div
vaul-drawer-wrapper='vaul-drawer-wrapper'
className='flex min-h-screen gap-3 p-[1.625rem] sm:flex-col sm:px-3 sm:pb-0 sm:pt-0'
className='flex min-h-dvh gap-3 p-[1.625rem] sm:flex-col sm:px-3 sm:pb-0 sm:pt-0'
>
<Sidebar className='w-[clamp(16rem,20vw,21rem)] xl-short:min-w-[19rem] lg:sr-only' />
<main className='contents'>{children ?? <Outlet />}</main>
Expand Down

0 comments on commit c1e5498

Please sign in to comment.