mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
fix(Field): disabled cursor should be not-allowed (#11800)
This commit is contained in:
@@ -92,6 +92,10 @@
|
||||
color: var(--van-field-placeholder-text-color);
|
||||
}
|
||||
|
||||
&:read-only {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
color: var(--van-field-input-disabled-text-color);
|
||||
cursor: not-allowed;
|
||||
@@ -100,10 +104,6 @@
|
||||
-webkit-text-fill-color: var(--van-field-input-disabled-text-color);
|
||||
}
|
||||
|
||||
&:read-only {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
&--center {
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user