mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(Field): disabled cursor should be not-allowed (#11800)
This commit is contained in:
parent
f9cd6b979f
commit
da138d5321
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user