Closed dashouse closed 6 years ago
Pointed out by gordonmcmullan_hmrc this example from Elements is misaligned
I believe this was affected by this PR (https://github.com/alphagov/govuk_elements/blob/8f88ccc46f7e71d2c8f4a56f4bac4beda1126cd5/assets/sass/elements/_elements-typography.scss) to add display: block to headings. It looks like that the margins we're previously collapsing, but with display: block; they are not.
display: block
display: block;
Without display: block;
Would suggest contextually adjusting the heading classes within the labels rather than removing the display: block;
and also removing that br
Or change the class of the span from heading-small to form-label-bold. That also makes more sense as it's not a heading but a label.
heading-small
form-label-bold
I fixed it in #591.
Pointed out by gordonmcmullan_hmrc this example from Elements is misaligned
I believe this was affected by this PR (https://github.com/alphagov/govuk_elements/blob/8f88ccc46f7e71d2c8f4a56f4bac4beda1126cd5/assets/sass/elements/_elements-typography.scss) to add
display: block
to headings. It looks like that the margins we're previously collapsing, but withdisplay: block;
they are not.Without
display: block;
Would suggest contextually adjusting the heading classes within the labels rather than removing the
display: block;