Warning text Change history
| Date | Changed | Description |
|---|---|---|
| Oct 2024 | GOV.UK Frontend v5.7.0 | Fixed text not appearing in bold if user agent styles were overridden. |
| Apr 2024 | GOV.UK Frontend v5.3.1 | Updated the icon colours to use the root text and background colours, rather than hardcoded as black and white. This allows the Warning text icon to change appearance if these colours are customised by a user. |
| Dec 2023 | GOV.UK Frontend v5.0.0 | Removed styles associated with the |
| Apr 2023 | GOV.UK Frontend v4.6.0 | Set a default value for the |
| May 2021 | GOV.UK Frontend v3.12.0 | Fixed icon outline appearing clipped when using Microsoft Edge in forced colours mode. |
| Jul 2020 | GOV.UK Frontend v3.8.0 | Fixed icon rendering incorrectly if the page’s CSS |
| Oct 2019 | GOV.UK Frontend v3.3.0 | Updated icon position so that it aligns with the first line of text when wrapped over multiple lines. Fixed icon becoming distorted if a user changed their browser’s font size. Fixed text not appearing in bold when using GOV.UK Frontend alongside GOV.UK Elements. |
| Dec 2018 | GOV.UK Frontend v2.4.1 | Reduced spacing between the icon and text. |
| Jul 2018 | GOV.UK Frontend v1.1.0 | Fixed the exclamation icon’s text being selectable and copyable. Fixed the border of the icon not being visible in forced colours mode. |
| Jun 2018 | GOV.UK Frontend v1.0.0 | Component introduced. |