From 8f8bcb93e07e7d34894bc38428494c3a1e4f46d2 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 10 Sep 2022 05:42:41 +0100 Subject: [PATCH] [Beta] Fix sticky sandboxes --- beta/src/components/MDX/MDXComponents.tsx | 6 +++++- beta/src/styles/index.css | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/beta/src/components/MDX/MDXComponents.tsx b/beta/src/components/MDX/MDXComponents.tsx index e6700f6c..6d6d6003 100644 --- a/beta/src/components/MDX/MDXComponents.tsx +++ b/beta/src/components/MDX/MDXComponents.tsx @@ -365,7 +365,11 @@ export const MDXComponents = { return children; }, MaxWidth({children}: {children: any}) { - return
{children}
; + return ( +
+ {children} +
+ ); }, Gotcha, Wip, diff --git a/beta/src/styles/index.css b/beta/src/styles/index.css index f68301af..a934e1b2 100644 --- a/beta/src/styles/index.css +++ b/beta/src/styles/index.css @@ -74,7 +74,6 @@ body { padding: 0; margin: 0; - overflow-x: hidden; } /* Start purging... */