fix(Stepper): incorrect text color in iOS14 when disabled (#8277)

This commit is contained in:
neverland 2021-03-04 20:19:43 +08:00 committed by GitHub
parent e50cd0c731
commit d54ba516f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,8 @@
&:disabled {
color: @stepper-input-disabled-text-color;
background-color: @stepper-input-disabled-background-color;
-webkit-text-fill-color: currentColor; // fix disabled color in iOS
// fix disabled color in iOS
-webkit-text-fill-color: @stepper-input-disabled-text-color;
opacity: 1;
}