Skip to content

Commit

Permalink
Merge pull request #5090 from alphagov/phase-banner-redundant-css
Browse files Browse the repository at this point in the history
Remove redundant tag CSS from phase banner
  • Loading branch information
36degrees authored Jun 18, 2024
2 parents 3822ac1 + 3d84c82 commit 93cdc48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ We've made fixes to GOV.UK Frontend in the following pull requests:
- [#5044: Remove session storage checks from accordion JavaScript](https://github.com/alphagov/govuk-frontend/pull/5044)
- [#5060: Reintroduce additional bottom margin to Error Summary content](https://github.com/alphagov/govuk-frontend/pull/5060)
- [#5070: Fix alignment of content in conditional checkboxes and radio buttons](https://github.com/alphagov/govuk-frontend/pull/5070)
- [#5090: Remove redundant tag CSS from phase banner](https://github.com/alphagov/govuk-frontend/pull/5090)

## 5.4.0 (Feature release)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@
margin-right: govuk-spacing(2);
}
}

// When forced colour mode is active, for example to provide high contrast,
// the background colour of the tag is the same as the rest of the page. To ensure
// that the tag is perceived as separate to the rest of the text in the phase banner,
// it is made bold.
@media screen and (forced-colors: active) {
font-weight: bold;
}
}

.govuk-phase-banner__text {
Expand Down

0 comments on commit 93cdc48

Please sign in to comment.