Skip to content

Commit

Permalink
Fix overflow-x on mobile (#26)
Browse files Browse the repository at this point in the history
Apply the overflow to both the axis to prevent additional desktop vertical scrollbars
  • Loading branch information
valse authored Feb 25, 2022
1 parent e24bf54 commit e43d5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function Layout({ children }) {
}, []);

return (
<div className="relative pb-24">
<div className="relative pb-24 overflow-hidden">
<div className="flex flex-col items-center max-w-2xl w-full mx-auto">
{children}
</div>
Expand Down

0 comments on commit e43d5b8

Please sign in to comment.