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; --foreground: #ededed;
} }
} }
html,body {
max-width: 100vw;
overflow-x: hidden;
}
body { body {
color: var(--foreground); color: var(--foreground);
background: var(--background); background: var(--background);

View file

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