Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error summary examples, add margin to error summary #583

Merged
merged 3 commits into from
Mar 8, 2018

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented Mar 7, 2018

Add examples of how the error summary component interacts with other elements on the page, in both a ‘one thing per page’ context and where multiple form controls are provided.

Add a bottom margin to error summary component – the error summary should always be the first thing on the page, after any breadcrumbs or back link. This means it will always appear before a heading, in which case we know that we will always need to add a margin to separate it from the heading.

https://trello.com/c/hg7MaHJk/809-think-about-how-the-error-summary-works-in-context-especially-in-a-one-thing-per-page-context

  • Update CHANGELOG

Add examples of how the error summary component interacts with other elements on the page, in both a ‘one thing per page’ context and where multiple form controls are provided.
This adds a bottom margin to the error summary component.

The error summary should always be the first thing on the page, after any breadcrumbs or back link. This means it will always appear before a heading, in which case we know that we will always need to add a margin to separate it from the heading.
Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me 👍

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-583 March 7, 2018 16:23 Inactive
@36degrees
Copy link
Contributor Author

@NickColley Happy with the changelog entry?

@NickColley
Copy link
Contributor

@36degrees would say it's a breaking change maybe? but private beta happy to approve

@36degrees
Copy link
Contributor Author

Fair – it changes the layout of that component considerably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants