Tried fixing scrolling

This commit is contained in:
Ronnie 2024-11-20 22:07:23 -05:00
parent c9d7a74ebc
commit 7b8a53fe2a
2 changed files with 5 additions and 2 deletions

View file

@ -13,7 +13,10 @@
--foreground: #ededed;
}
}
html,body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);

View file

@ -24,7 +24,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="en" className="!scroll-smooth">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>