From 8e4cb42192f281ac240b510ded8c54000e6391b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 15 May 2024 15:52:26 +0200 Subject: [PATCH] MOBILE-4470 styles: Fix opacity on iOS --- src/theme/components/ion-checkbox.scss | 3 ++- src/theme/components/ion-radio.scss | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/theme/components/ion-checkbox.scss b/src/theme/components/ion-checkbox.scss index f43b45807..1105a5550 100644 --- a/src/theme/components/ion-checkbox.scss +++ b/src/theme/components/ion-checkbox.scss @@ -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); } } diff --git a/src/theme/components/ion-radio.scss b/src/theme/components/ion-radio.scss index d29c8a9f1..92b3ca081 100644 --- a/src/theme/components/ion-radio.scss +++ b/src/theme/components/ion-radio.scss @@ -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); } }