diff --git a/CHANGELOG.md b/CHANGELOG.md index b743f06436..0473951242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,8 @@ This will help with scenarios where some of the elements, such as navigation and ### 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) diff --git a/src/govuk/components/warning-text/_warning-text.scss b/src/govuk/components/warning-text/_warning-text.scss index 3c39032905..4fa58c3663 100644 --- a/src/govuk/components/warning-text/_warning-text.scss +++ b/src/govuk/components/warning-text/_warning-text.scss @@ -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; @@ -50,6 +47,8 @@ } .govuk-warning-text__text { + @include govuk-font($size: 19, $weight: bold); + @include govuk-text-colour; display: block; padding-left: 50px; }