diff --git a/CHANGELOG.md b/CHANGELOG.md index 1811c061bc..73829fc4cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ We’ve made fixes to GOV.UK Frontend in the following pull requests: - [#1842: Preserve the state of conditional reveals when navigating 'back' in the browser](https://github.com/alphagov/govuk-frontend/pull/1842) - [#1855: Hint component can render block-level elements as valid HTML](https://github.com/alphagov/govuk-frontend/pull/1855) - [#1861: Fix the display of checkboxes when border-box box sizing is applied globally](https://github.com/alphagov/govuk-frontend/pull/1861) +- [#1862: Fix display of warning text icon when border-box box sizing is applied globally #1862](https://github.com/alphagov/govuk-frontend/pull/1862) ## 3.7.0 (Feature release) diff --git a/src/govuk/components/warning-text/_index.scss b/src/govuk/components/warning-text/_index.scss index 6ed50c86f4..06ca717515 100644 --- a/src/govuk/components/warning-text/_index.scss +++ b/src/govuk/components/warning-text/_index.scss @@ -13,13 +13,15 @@ .govuk-warning-text__icon { @include govuk-font($size: false, $weight: bold); + box-sizing: border-box; + display: inline-block; position: absolute; left: 0; - min-width: 29px; - min-height: 29px; + min-width: 35px; + min-height: 35px; margin-top: -7px; @include govuk-media-query($from: tablet) {