Skip to content

Commit

Permalink
Merge pull request #973 from nhsuk/adjust-error-summary-margin
Browse files Browse the repository at this point in the history
Reduce error summary bottom margin
  • Loading branch information
anandamaryon1 authored Jul 24, 2024
2 parents 817d9e8 + 5b1c88b commit bb1ee87
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Change "Contact us" in the footer link examples to "Give us feedback" ([PR 972](https://github.com/nhsuk/nhsuk-frontend/pull/972))
- Remove the pattern from the date input component
- Adjust errorSummary bottom margin ([PR 973](https://github.com/nhsuk/nhsuk-frontend/pull/973))
- Fix height of select component in Safari ([PR 987](https://github.com/nhsuk/nhsuk-frontend/pull/987))
- Set minimum width of select component ([PR 987](https://github.com/nhsuk/nhsuk-frontend/pull/987))

Expand Down
8 changes: 7 additions & 1 deletion packages/components/error-summary/_error-summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@

.nhsuk-error-summary {
@include nhsuk-responsive-padding(4);
@include nhsuk-responsive-margin(8, "bottom");

// Not using responsive spacing as we want smaller margin on mobile
margin-bottom: nhsuk-spacing(5);

@include govuk-media-query($from: tablet) {
margin-bottom: nhsuk-spacing(7);
}

border: $nhsuk-border-width-mobile solid $nhsuk-error-color;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb1ee87

Please sign in to comment.