mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
fix(Stepper): incorrect text color in iOS14 when disabled (#8277)
This commit is contained in:
@@ -85,7 +85,8 @@
|
|||||||
&:disabled {
|
&:disabled {
|
||||||
color: @stepper-input-disabled-text-color;
|
color: @stepper-input-disabled-text-color;
|
||||||
background-color: @stepper-input-disabled-background-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;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user