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 }) => ({
1818 color : theme . palette . background . brand ?. default ,
1919 textDecoration : 'none'
2020 } ,
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+ } ,
2130 '& pre' : {
2231 backgroundColor : '#011627' ,
2332 padding : '1em' ,
@@ -29,15 +38,6 @@ const StyledChapter = styled('div')(({ theme }) => ({
2938 width : '100%' ,
3039 margin : '1rem auto autocompleteClasses' ,
3140 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'
4141 }
4242} ) ) ;
4343export default StyledChapter ;
You can’t perform that action at this time.
0 commit comments