Fixed scroll behavior issue.
This commit is contained in:
parent
2b96a395ba
commit
36f509f6bc
|
|
@ -45,7 +45,7 @@ export default function RootLayout({
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" className="scroll-smooth relative">
|
<html lang="en" className="scroll-smooth relative" data-scroll-behavior="smooth">
|
||||||
<body className={`${inter.variable} ${outfit.variable} antialiased relative`}>
|
<body className={`${inter.variable} ${outfit.variable} antialiased relative`}>
|
||||||
{children}
|
{children}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue