feat(Field): imporve readonly cursor

This commit is contained in:
陈嘉涵 2020-01-16 10:03:52 +08:00
parent 959eca136c
commit 60173dd6bc
2 changed files with 8 additions and 0 deletions

View File

@ -43,6 +43,10 @@
opacity: 1; opacity: 1;
} }
&:read-only {
cursor: default;
}
&--center { &--center {
text-align: center; text-align: center;
} }

View File

@ -89,6 +89,10 @@
-webkit-text-fill-color: @stepper-input-disabled-text-color; // fix disabled color in iOS -webkit-text-fill-color: @stepper-input-disabled-text-color; // fix disabled color in iOS
opacity: 1; opacity: 1;
} }
&:read-only {
cursor: default;
}
} }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-inner-spin-button,