From c581dea5be08c2cf1bb71b62fc348d8ca728f231 Mon Sep 17 00:00:00 2001 From: ycjcl868 <45808948@qq.com> Date: Thu, 29 Aug 2019 10:29:58 +0800 Subject: [PATCH] fix: rm inner and wrap --- components/input-number/style/index.less | 6 +++--- components/style/themes/default.less | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/input-number/style/index.less b/components/input-number/style/index.less index 67080cf799..1c91a88c35 100644 --- a/components/input-number/style/index.less +++ b/components/input-number/style/index.less @@ -31,7 +31,7 @@ } &:hover &-up-inner, &:hover &-down-inner { - color: @input-number-handler-inner-hover-bg; + color: @input-number-handler-hover-bg; } } @@ -111,8 +111,8 @@ right: 0; width: 22px; height: 100%; - background: @input-number-handler-wrap-bg; - border-left: @border-width-base @border-style-base @input-number-handler-wrap-border-color; + background: @input-number-handler-bg; + border-left: @border-width-base @border-style-base @input-number-handler-border-color; border-radius: 0 @border-radius-base @border-radius-base 0; opacity: 0; transition: opacity 0.24s linear 0.1s; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 812c8c8ccd..3a6fd61ccd 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -321,9 +321,9 @@ @input-border-color: @border-color-base; @input-bg: @component-background; @input-number-handler-active-bg: #f4f4f4; -@input-number-handler-inner-hover-bg: @primary-5; -@input-number-handler-wrap-bg: @component-background; -@input-number-handler-wrap-border-color: @border-color-base; +@input-number-handler-hover-bg: @primary-5; +@input-number-handler-bg: @component-background; +@input-number-handler-border-color: @border-color-base; @input-addon-bg: @background-color-light; @input-hover-border-color: @primary-5; @input-disabled-bg: @disabled-bg;