File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,15 @@ const StyledChapter = styled('div')(({ theme }) => ({
18
18
color : theme . palette . background . brand ?. default ,
19
19
textDecoration : 'none'
20
20
} ,
21
+ '& p > code' : {
22
+ color : 'inherit' ,
23
+ padding : '.2em .4em' ,
24
+ margin : '0' ,
25
+ fontSize : '85%' ,
26
+ wordBreak : 'normal' ,
27
+ backgroundColor : theme . palette . background . code ,
28
+ borderRadius : '.25rem'
29
+ } ,
21
30
'& pre' : {
22
31
backgroundColor : '#011627' ,
23
32
padding : '1em' ,
@@ -29,15 +38,6 @@ const StyledChapter = styled('div')(({ theme }) => ({
29
38
width : '100%' ,
30
39
margin : '1rem auto autocompleteClasses' ,
31
40
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 . code ,
40
- borderRadius : '.25rem'
41
41
}
42
42
} ) ) ;
43
43
export default StyledChapter ;
You can’t perform that action at this time.
0 commit comments