Skip to content

Commit

Permalink
MOBILE-4470 styles: Fix opacity on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyserver committed May 16, 2024
1 parent 369fd71 commit 8e4cb42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/theme/components/ion-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ input[type=checkbox] {
}

ion-checkbox {
&.checkbox-disabled::part(label) {
&.md.checkbox-disabled::part(label),
&.ios.checkbox-disabled {
opacity: var(--mdl-input-disabled-opacity);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/theme/components/ion-radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ input[type=radio],
}

ion-radio {
&.radio-disabled::part(label) {
&.md.radio-disabled::part(label),
&.ios.radio-disabled {
opacity: var(--mdl-input-disabled-opacity);
}
}

0 comments on commit 8e4cb42

Please sign in to comment.