Merge pull request #817 from BerserkeR-Git/BerserkeR-Git-styling-codeblocks

Add styling for code blocks in notifications
This commit is contained in:
Jannis Mattheis 2025-08-08 14:33:50 +02:00 committed by GitHub
commit deb383aba8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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%',