Browse Source

[Beta] Fix mobile full-bleeds

main
Dan Abramov 2 years ago
parent
commit
d8dc5c755c
  1. 6
      beta/src/components/MDX/MDXComponents.tsx

6
beta/src/components/MDX/MDXComponents.tsx

@ -365,11 +365,7 @@ export const MDXComponents = {
return children;
},
MaxWidth({children}: {children: any}) {
return (
<div className="max-w-4xl ml-0 2xl:mx-auto overflow-x-hidden">
{children}
</div>
);
return <div className="max-w-4xl ml-0 2xl:mx-auto">{children}</div>;
},
Gotcha,
Wip,

Loading…
Cancel
Save