mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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 {
|
||||
color: @field-input-disabled-text-color;
|
||||
background-color: transparent;
|
||||
cursor: not-allowed;
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user