Skip to content

Commit

Permalink
Merge pull request #2277 from alphagov/start-button-chevron-forced-co…
Browse files Browse the repository at this point in the history
…lor-mode

Fix invisible start button chevron in forced color mode
  • Loading branch information
36degrees authored Jul 16, 2021
2 parents ab705fc + a71781a commit 168c1aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ We’ve made fixes to GOV.UK Frontend in the following pull requests:
- [#2264: Improve focus state for radio and checkbox controls in forced color mode (for example Windows High Contrast Mode)](https://github.com/alphagov/govuk-frontend/pull/2264) – thanks to [@adamliptrot-oc](https://github.com/adamliptrot-oc) for reporting this issue.
- [#2265: Don’t remove focus outline from disabled link buttons in forced color mode](https://github.com/alphagov/govuk-frontend/pull/2265)
- [#2273: Fix invisible footer OGL logo in forced color mode](https://github.com/alphagov/govuk-frontend/pull/2273) – thanks to [@oscarduignan](https://github.com/oscarduignan) for reporting this issue.
- [#2277: Fix invisible start button chevron in forced color mode](https://github.com/alphagov/govuk-frontend/pull/2277)

## 3.13.0 (Feature release)

Expand Down
3 changes: 3 additions & 0 deletions src/govuk/components/button/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@
vertical-align: middle;
flex-shrink: 0;
align-self: center;
// Work around SVGs not inheriting color from parent in forced color mode
// (https://github.com/w3c/csswg-drafts/issues/6310)
forced-color-adjust: auto;
}

@if $govuk-use-legacy-font {
Expand Down

0 comments on commit 168c1aa

Please sign in to comment.