Skip to content

Commit

Permalink
Remove HighlightedCode max-width
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Sep 12, 2024
1 parent 4732610 commit ed1055e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/mui-docs/src/HighlightedCode/HighlightedCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ed1055e

Please sign in to comment.