🎨 Fix overscroll and make page header sticky

This commit is contained in:
Luke Vella 2024-01-13 23:55:00 +07:00
parent a48d0fd879
commit 40e52e8c71
2 changed files with 2 additions and 6 deletions

View file

@ -7,7 +7,7 @@
@apply border-border;
}
body {
@apply text-foreground overflow-y-auto overscroll-none bg-gray-200/50;
@apply text-foreground overflow-y-auto bg-gray-200/50;
font-feature-settings: "rlig" 1, "calt" 1;
}
html {

View file

@ -67,11 +67,7 @@ export default async function Layout({
</div>
<Sidebar />
</div>
<div
className={cn(
"grow overflow-auto lg:min-h-screen lg:pl-72 bg-gray-50",
)}
>
<div className={cn("grow min-h-screen lg:pl-72 bg-gray-50")}>
{children}
</div>
</div>