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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user