Set the cap-height to be 2 times the base font x-height
padding-bottom
Set the vertical space below the baseline to be the same height as the title cap-height
This is implemented by the SectionTitleWrapper styled-component. By default, it sets the padding-bottom when the horizontal line follows below. With props aboveBodyText, the padding value is set for when body text follows below.
font-size
padding-bottom
SectionTitleWrapper
styled-component. By default, it sets thepadding-bottom
when the horizontal line follows below. With propsaboveBodyText
, the padding value is set for when body text follows below.