Skip to content

Commit

Permalink
Fixed smooth-scrolling behavior since changing to Next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jstamant committed Jan 22, 2024
1 parent bedf74b commit 2b333ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const viewport = {

export default function RootLayout({ children }) {
return (
<html lang="en" className={`${source_sans.variable}`}>
<html lang="en" className={`${source_sans.variable} scroll-smooth`}>
<body className="text-center text-xl text-neutral-700">{children}</body>
<GoogleAnalytics gaId="G-8RBZ9QXX9H" />
</html>
Expand Down

0 comments on commit 2b333ef

Please sign in to comment.