fix page scroll behaviour

This commit is contained in:
Sacha Weatherstone
2023-02-25 22:35:10 +10:00
parent 61db7580e0
commit a711db4ee3
8 changed files with 644 additions and 572 deletions
+6 -2
View File
@@ -40,8 +40,12 @@ export const PageLayout = ({
</div>
</div>
</div>
{/* relative flex h-full w-full flex-col */}
<div className={cn("flex h-full w-full flex-col", !noPadding && "p-3")}>
<div
className={cn(
"flex h-full w-full flex-col overflow-y-auto",
!noPadding && "p-3"
)}
>
{children}
</div>
</div>