smooth scroll fix

This commit is contained in:
Mike Karl 2026-04-22 16:02:14 +02:00
parent 8856d19682
commit 44ca1ace9a
2 changed files with 2 additions and 1 deletions

View file

@ -18,7 +18,7 @@
} }
html { html {
scroll-behavior: smooth; scroll-behavior: auto;
} }
body { body {

View file

@ -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">