Skip to content

Commit e43d5b8

Browse files
authored
Fix overflow-x on mobile (#26)
Apply the overflow to both the axis to prevent additional desktop vertical scrollbars
1 parent e24bf54 commit e43d5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function Layout({ children }) {
5050
}, []);
5151

5252
return (
53-
<div className="relative pb-24">
53+
<div className="relative pb-24 overflow-hidden">
5454
<div className="flex flex-col items-center max-w-2xl w-full mx-auto">
5555
{children}
5656
</div>

0 commit comments

Comments
 (0)