docs: add overscroll-contain to root layout (#8237)

This commit is contained in:
Taesu
2026-02-28 23:10:57 -08:00
committed by GitHub
parent 788e58b06e
commit 5717bee6ab
+1 -1
View File
@@ -94,7 +94,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
<CommandMenuProvider>
<div className="relative h-dvh overflow-x-hidden">
<StaggeredNavFiles />
<div className="absolute inset-0 overflow-y-auto overflow-x-hidden">
<div className="absolute inset-0 overflow-y-auto overflow-x-hidden overscroll-contain">
{children}
</div>
</div>