Skip to content

Commit

Permalink
Merge pull request #1585 from alphagov/warning-text-bold
Browse files Browse the repository at this point in the history
Explicitly set font weight on warning-text component
  • Loading branch information
36degrees committed Sep 23, 2019
2 parents 618c68f + 892fda1 commit 7b7e3a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Align ‘Warning text’ icon with first line of the content fixing [#1352](http
### Fixes
- [Pull request #1574: Make form elements scale correctly when text resized by user](https://github.com/alphagov/govuk-frontend/pull/1574).
- [Pull request #1584: Fix text resize issue with warning text icon](https://github.com/alphagov/govuk-frontend/pull/1584)
- [Pull request ##1570: Prevent inputs ending up off screen or obscured by keyboards when linking from the error summary to inputs within a large fieldset](https://github.com/alphagov/govuk-frontend/pull/1570)
- [Pull request #1570: Prevent inputs ending up off screen or obscured by keyboards when linking from the error summary to inputs within a large fieldset](https://github.com/alphagov/govuk-frontend/pull/1570)
- [Pull request #1585: Explicitly set font weight on warning-text component](https://github.com/alphagov/govuk-frontend/pull/1585)

## 3.2.0 (Feature release)

Expand Down
5 changes: 2 additions & 3 deletions src/govuk/components/warning-text/_warning-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
@include govuk-exports("govuk/component/warning-text") {

.govuk-warning-text {
@include govuk-font($size: 19);
@include govuk-text-colour;

position: relative;
@include govuk-responsive-margin(6, "bottom");
padding: govuk-spacing(2) 0;
Expand Down Expand Up @@ -52,6 +49,8 @@
}

.govuk-warning-text__text {
@include govuk-font($size: 19, $weight: bold);
@include govuk-text-colour;
display: block;
padding-left: 45px;
}
Expand Down

0 comments on commit 7b7e3a7

Please sign in to comment.