Skip to content

Commit 8f8bcb9

Browse files
committed
[Beta] Fix sticky sandboxes
1 parent dae817f commit 8f8bcb9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

beta/src/components/MDX/MDXComponents.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,11 @@ export const MDXComponents = {
365365
return children;
366366
},
367367
MaxWidth({children}: {children: any}) {
368-
return <div className="max-w-4xl ml-0 2xl:mx-auto">{children}</div>;
368+
return (
369+
<div className="max-w-4xl ml-0 2xl:mx-auto overflow-x-hidden">
370+
{children}
371+
</div>
372+
);
369373
},
370374
Gotcha,
371375
Wip,

beta/src/styles/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
body {
7575
padding: 0;
7676
margin: 0;
77-
overflow-x: hidden;
7877
}
7978

8079
/* Start purging... */

0 commit comments

Comments
 (0)