mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-26 03:16:35 +08:00
fix(Field): incorrect disabled color in iOS 14 (#7206)
* fix(Field): incorrect disabled color in iOS 14 * fix: field style
This commit is contained in:
parent
ffb01671a1
commit
e3d6328815
@ -55,10 +55,10 @@
|
|||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
color: @field-input-disabled-text-color;
|
color: @field-input-disabled-text-color;
|
||||||
background-color: transparent;
|
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
-webkit-text-fill-color: currentColor; // fix disabled color in iOS
|
// fix disabled color in mobile safari
|
||||||
|
-webkit-text-fill-color: @field-input-disabled-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:read-only {
|
&:read-only {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user