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

Clean up warning text component styles #1084

Merged
merged 1 commit into from Dec 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -22,6 +22,10 @@

🔧 Fixes:

- Warning text component, remove negative margin left and reduce padding left to match.

([PR #1084](https://github.com/alphagov/govuk-frontend/pull/1084))

- Add 5px bottom margin to list items within lists that do not have bullets or
numbers on mobile breakpoints to make each item visually distinct.

Expand Down
3 changes: 1 addition & 2 deletions src/components/warning-text/_warning-text.scss
Expand Up @@ -51,7 +51,6 @@

.govuk-warning-text__text {
display: block;
margin-left: -$govuk-gutter-half;
padding-left: 65px;
padding-left: 50px;
}
}