From 42ed0f1c743df50aca60b50b26632a6a4574ffec Mon Sep 17 00:00:00 2001 From: qige2016 <286882998@qq.com> Date: Thu, 24 Jun 2021 21:10:06 -0500 Subject: [PATCH] fix(input-number): fix border color when disabled and hover over buttons (#2334) --- packages/theme-chalk/src/input-number.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme-chalk/src/input-number.scss b/packages/theme-chalk/src/input-number.scss index 742e0bf289..e0e020a273 100644 --- a/packages/theme-chalk/src/input-number.scss +++ b/packages/theme-chalk/src/input-number.scss @@ -36,7 +36,7 @@ &:hover { color: $--color-primary; - &:not(.is-disabled) ~ .#{$namespace}-input .#{$namespace}-input__inner:not(.is-disabled) { + & ~ .#{$namespace}-input:not(.is-disabled) .#{$namespace}-input__inner { border-color: $--input-focus-border; } }