smooth scroll fix
This commit is contained in:
parent
8856d19682
commit
44ca1ace9a
2 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ export default function RootLayout({
|
||||||
return (
|
return (
|
||||||
<html
|
<html
|
||||||
lang="de"
|
lang="de"
|
||||||
|
data-scroll-behavior="smooth"
|
||||||
className={`${spaceGrotesk.variable} ${inter.variable} ${ibmPlexMono.variable}`}
|
className={`${spaceGrotesk.variable} ${inter.variable} ${ibmPlexMono.variable}`}
|
||||||
>
|
>
|
||||||
<body className="min-h-screen bg-deep-space text-text-primary antialiased">
|
<body className="min-h-screen bg-deep-space text-text-primary antialiased">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue