Fix layout by removing unnecessary overflow-y-auto class from PageWithSidebar (#272)
This commit is contained in:
committed by
GitHub
parent
81579fab72
commit
2ae8e14158
@@ -41,14 +41,14 @@ function PageWithSidebar(props: PageProps) {
|
||||
<div
|
||||
className={
|
||||
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}
|
||||
|
||||
<div
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user