File tree 3 files changed +13
-3
lines changed
src/components/ParserOpenRPC
3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ export default function DetailsBox({
48
48
{ summary !== null && (
49
49
< p
50
50
style = { { marginBottom : '0.5rem' } }
51
- className = { clsx ( 'padding-bottom--md' , styles . borderBottomLine ) } >
51
+ className = { clsx ( 'padding-bottom--md' , styles . borderBottomLine , styles . methodSummary ) } >
52
52
< strong > Summary: </ strong >
53
53
< span className = { styles . summaryText } >
54
54
< MDContent content = { summary } />
55
55
</ span >
56
56
</ p >
57
57
) }
58
58
{ description !== null && (
59
- < div className = "padding-top--md" >
59
+ < div className = { clsx ( "padding-top--md" , styles . methodDescription ) } >
60
60
< MDContent content = { description } />
61
61
</ div >
62
62
) }
@@ -68,7 +68,7 @@ export default function DetailsBox({
68
68
</ Heading >
69
69
< div className = { styles . paramContainer } >
70
70
{ params . length === 0 ? (
71
- < div className = "padding-vert--md" > This method doesn't accept any parameters.</ div >
71
+ < div className = { clsx ( "padding-vert--md" , styles . noParamsDescription ) } > This method doesn't accept any parameters.</ div >
72
72
) : (
73
73
params && renderParamSchemas ( params , components )
74
74
) }
Original file line number Diff line number Diff line change 73
73
.enumWrapper {
74
74
border : 1px solid var (--general-gray-light );
75
75
margin-bottom : 2rem ;
76
+ font-size : 1.4rem ;
76
77
}
77
78
78
79
.enumItem {
139
140
}
140
141
}
141
142
143
+ .methodSummary {
144
+ font-style : italic ;
145
+ }
146
+
147
+ .methodDescription , .noParamsDescription {
148
+ font-size : 1.6rem ;
149
+ }
150
+
142
151
html [data-theme = ' dark' ] {
143
152
.paramWrapper ,
144
153
.borderWrapper ,
Original file line number Diff line number Diff line change 56
56
font-size : 1.8rem ;
57
57
line-height : 1 ;
58
58
font-weight : 500 ;
59
+ font-family : var (--ifm-font-family-base );
59
60
}
60
61
61
62
.modalTitleContainer {
You can’t perform that action at this time.
0 commit comments