Skip to content

Commit

Permalink
scroll main content
Browse files Browse the repository at this point in the history
  • Loading branch information
toyamarinyon committed Oct 22, 2024
1 parent 66496b2 commit 10de196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(main)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Layout({ children }: { children: ReactNode }) {
<UserButton />
</div>
</header>
<main className="flex-1">{children}</main>
<main className="flex-1 overflow-y-auto">{children}</main>
</div>
);
}

0 comments on commit 10de196

Please sign in to comment.