Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(radio): Element not visible when high-contrast mode is enabled. #460

Merged
merged 5 commits into from
Jul 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 fix(radio): added css for high contrast mode.
  • Loading branch information
creador-dev committed May 26, 2022
commit e42f981a32724579a0f87e337d7143b9916db480
3 changes: 1 addition & 2 deletions assets/scss/shared-ui/_radio-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

&:before {
opacity: 1;

@media (forced-colors: active), (-ms-high-contrast: active) {
forced-color-adjust: none;
background-color: $accessible-dark;
Expand Down Expand Up @@ -126,7 +126,6 @@
display: inline-flex;
margin: 0 math.div($sui-gutter, 2) 0 0;
}

}

@include body-class(true) {
Expand Down