Skip to content

Commit

Permalink
Merge pull request #1084 from andysellick/update-warning-text-compone…
Browse files Browse the repository at this point in the history
…nt-styles

Clean up warning text component styles
  • Loading branch information
NickColley committed Dec 6, 2018
2 parents 4760577 + 2021841 commit 37854cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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;
}
}

0 comments on commit 37854cd

Please sign in to comment.