Skip to content

Commit

Permalink
Re-add additional bottom margin to error summary content
Browse files Browse the repository at this point in the history
Reverses a visual change introduced in #4971 where the negative space at the bottom of the Error Summary component was reduced to equalise the container padding on all sides.

Although this was originally approved of by a designer on the team, further discussion after the 5.4.0 release concluded that having additional negative space below the Error Summary's content was desirable, as it gave extra space for text descenders to occupy (if present).
  • Loading branch information
querkmachine committed Jun 10, 2024
1 parent 51a8fc4 commit 4dce623
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
> * + * {
@include govuk-responsive-margin(4, "top");
}

> :last-child {
@include govuk-responsive-margin(1, "bottom");
}
}

// Cross-component class - adjusts styling of list component
Expand Down

0 comments on commit 4dce623

Please sign in to comment.