We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7755428 + a1a1353 commit a247841Copy full SHA for a247841
1 file changed
src/custom/StyledChapter/StyledChapter.tsx
@@ -29,6 +29,15 @@ const StyledChapter = styled('div')(({ theme }) => ({
29
width: '100%',
30
margin: '1rem auto autocompleteClasses',
31
fontFamily: 'Courier New, Courier, monospace'
32
+ },
33
+ '& code': {
34
+ color: 'inherit',
35
+ padding: '.2em .4em',
36
+ margin: '0',
37
+ fontSize: '85%',
38
+ wordBreak: 'normal',
39
+ backgroundColor: theme.palette.background.secondary,
40
+ borderRadius: '.25rem'
41
}
42
}));
43
export default StyledChapter;
0 commit comments