fix: background to code blocks
This commit is contained in:
parent
ba3bd1ba2d
commit
364cd71e45
|
|
@ -70,6 +70,10 @@ const useStyles = makeStyles()((theme: Theme) => ({
|
||||||
},
|
},
|
||||||
'& pre': {
|
'& pre': {
|
||||||
overflow: 'auto',
|
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': {
|
'& img': {
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue