🎨 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; @apply border-border;
} }
body { 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; font-feature-settings: "rlig" 1, "calt" 1;
} }
html { html {

View file

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