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
|
<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}
|
||||||
|
|||||||
Reference in New Issue
Block a user