Skip to content

Commit aa27196

Browse files
committed
Declare smooth route scrolling
1 parent f038e86 commit aa27196

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ export default function RootLayout({
6262
children: React.ReactNode;
6363
}>) {
6464
return (
65-
<html lang="en" className={`${inter.variable} ${jetBrainsMono.variable}`}>
65+
<html
66+
lang="en"
67+
data-scroll-behavior="smooth"
68+
className={`${inter.variable} ${jetBrainsMono.variable}`}
69+
>
6670
<body className="antialiased">
6771
<AuthProvider>{children}</AuthProvider>
6872
</body>

0 commit comments

Comments
 (0)