Merge pull request #817 from BerserkeR-Git/BerserkeR-Git-styling-codeblocks
Add styling for code blocks in notifications
This commit is contained in:
commit
deb383aba8
|
|
@ -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