Skip to content

Commit c2e2fc2

Browse files
committed
fix: remove horizontal scrollbar
1 parent e7661c5 commit c2e2fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const Main: FunctionComponent<MainProps> = ({
1010
urlPathname,
1111
children,
1212
}) => (
13-
<body class="font-sans -mr-[calc(100vw-100%)]">
13+
<body class="font-sans -mr-[calc(100vw-100%)] overflow-x-hidden">
1414
<Header urlPathname={urlPathname} />
1515
<main class="mx-auto max-w-xl flex flex-col items-center px-4">
1616
{children}

0 commit comments

Comments
 (0)