fix: background to code blocks

This commit is contained in:
BerserkeR 2025-08-04 11:06:39 +02:00 committed by Jannis Mattheis
parent ba3bd1ba2d
commit 364cd71e45
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ const useStyles = makeStyles()((theme: Theme) => ({
},
'& pre': {
overflow: 'auto',
borderRadius: '0.25em',
backgroundColor:
theme.palette.mode === 'dark' ? 'rgba(255,255,255,0.05)' : 'rgba(0,0,0,0.05)',
padding: theme.spacing(1),
},
'& img': {
maxWidth: '100%',