File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
src/components/ParserOpenRPC Expand file tree Collapse file tree 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({
4848 { summary !== null && (
4949 < p
5050 style = { { marginBottom : '0.5rem' } }
51- className = { clsx ( 'padding-bottom--md' , styles . borderBottomLine ) } >
51+ className = { clsx ( 'padding-bottom--md' , styles . borderBottomLine , styles . methodSummary ) } >
5252 < strong > Summary: </ strong >
5353 < span className = { styles . summaryText } >
5454 < MDContent content = { summary } />
5555 </ span >
5656 </ p >
5757 ) }
5858 { description !== null && (
59- < div className = "padding-top--md" >
59+ < div className = { clsx ( "padding-top--md" , styles . methodDescription ) } >
6060 < MDContent content = { description } />
6161 </ div >
6262 ) }
@@ -68,7 +68,7 @@ export default function DetailsBox({
6868 </ Heading >
6969 < div className = { styles . paramContainer } >
7070 { 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 >
7272 ) : (
7373 params && renderParamSchemas ( params , components )
7474 ) }
Original file line number Diff line number Diff line change 7373.enumWrapper {
7474 border : 1px solid var (--general-gray-light );
7575 margin-bottom : 2rem ;
76+ font-size : 1.4rem ;
7677}
7778
7879.enumItem {
139140 }
140141}
141142
143+ .methodSummary {
144+ font-style : italic ;
145+ }
146+
147+ .methodDescription , .noParamsDescription {
148+ font-size : 1.6rem ;
149+ }
150+
142151html [data-theme = ' dark' ] {
143152 .paramWrapper ,
144153 .borderWrapper ,
Original file line number Diff line number Diff line change 5656 font-size : 1.8rem ;
5757 line-height : 1 ;
5858 font-weight : 500 ;
59+ font-family : var (--ifm-font-family-base );
5960}
6061
6162.modalTitleContainer {
You can’t perform that action at this time.
0 commit comments