Fix layout by removing unnecessary overflow-y-auto class from PageWithSidebar (#272)

This commit is contained in:
Giancarlo Buomprisco
2025-06-09 19:16:50 +07:00
committed by GitHub
parent 81579fab72
commit 2ae8e14158

View File

@@ -41,14 +41,14 @@ function PageWithSidebar(props: PageProps) {
<div <div
className={ className={
props.contentContainerClassName ?? props.contentContainerClassName ??
'mx-auto flex h-screen w-full flex-col overflow-y-auto bg-inherit' 'mx-auto flex h-screen w-full flex-col bg-inherit'
} }
> >
{MobileNavigation} {MobileNavigation}
<div <div
className={ className={
'bg-background flex flex-1 flex-col overflow-y-auto px-4 lg:px-0' 'bg-background flex flex-1 flex-col px-4 lg:px-0'
} }
> >
{Children} {Children}