From da138d532164d2f7953dda738650f71cbb74cf42 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 2 May 2023 10:36:03 +0800 Subject: [PATCH] fix(Field): disabled cursor should be not-allowed (#11800) --- packages/vant/src/field/index.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vant/src/field/index.less b/packages/vant/src/field/index.less index 8d6aeeb39..dd9404ceb 100644 --- a/packages/vant/src/field/index.less +++ b/packages/vant/src/field/index.less @@ -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;