Skip to content

Commit

Permalink
Merge pull request #8 from c0sta/feat/typing-effect
Browse files Browse the repository at this point in the history
fix: fixed horizontal scroll bug
  • Loading branch information
c0sta authored Feb 19, 2024
2 parents 8f4ca86 + 80cad36 commit 74752de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function RootLayout({
children: React.ReactNode
}) {
return (
<html lang="en">
<html lang="en" className="overflow-y-auto overflow-x-hidden">
{process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID ? (
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID} />
) : null}
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Home, Content } from '@/app/pages'

export default function Page() {
return (
<main className="h-full overflow-y-auto overflow-x-hidden px-5 md:px-20">
<main className="h-full px-5 md:px-20">
<Home />
<Content />
</main>
Expand Down

0 comments on commit 74752de

Please sign in to comment.