Skip to content

Commit

Permalink
adjust code block style when inside a callout
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Jun 14, 2024
1 parent dae52dd commit f2a50a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mui-docs/src/MarkdownElement/MarkdownElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ const Root = styled('div')(
'& .MuiCode-root': {
'& pre': {
margin: '4px 0 0 0',
borderRadius: '8px',
borderRadius: '12px 12px 6px 12px',
borderColor: alpha(lightTheme.palette.primaryDark[600], 0.6),
'& code': {
backgroundColor: 'transparent',
},
Expand Down

0 comments on commit f2a50a4

Please sign in to comment.