mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Stepper): input disabled text color in safari (#5428)
This commit is contained in:
parent
16cbfd2c85
commit
3a4983b250
@ -81,9 +81,11 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
|
||||||
&[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: @stepper-input-disabled-text-color; // fix disabled color in iOS
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user