diff --git a/packages/mui-docs/src/HighlightedCode/HighlightedCode.tsx b/packages/mui-docs/src/HighlightedCode/HighlightedCode.tsx index 68cc700bee080d..aefbafb388c42f 100644 --- a/packages/mui-docs/src/HighlightedCode/HighlightedCode.tsx +++ b/packages/mui-docs/src/HighlightedCode/HighlightedCode.tsx @@ -10,10 +10,6 @@ const Pre = styled('pre')(({ theme }) => ({ margin: 0, color: 'hsl(60deg 30% 96.08%)', // fallback color until Prism's theme is loaded WebkitOverflowScrolling: 'touch', // iOS momentum scrolling. - maxWidth: 'calc(100vw - 32px)', - [theme.breakpoints.up('md')]: { - maxWidth: 'calc(100vw - 32px - 16px)', - }, '& code': { // Avoid layout jump after hydration (style injected by Prism) ...theme.typography.caption,