From 37ec04b21a662dd00fb7e729c6df7d53a082b5b1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 13 Jun 2018 17:31:26 +0800 Subject: [PATCH] Fix InputNumber style when zoom to 90% or below close #10562 --- components/input-number/style/index.less | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/components/input-number/style/index.less b/components/input-number/style/index.less index f865df881c..7e83cf08a7 100644 --- a/components/input-number/style/index.less +++ b/components/input-number/style/index.less @@ -60,7 +60,6 @@ .disabled(); .@{input-number-prefix-cls}-input { cursor: not-allowed; - background-color: @disabled-bg; } .@{input-number-prefix-cls}-handler-wrap { display: none; @@ -74,17 +73,12 @@ -moz-appearance: textfield; height: @input-height-base - 2px; transition: all 0.3s linear; - color: @input-color; - background-color: @input-bg; + background-color: transparent; border: 0; border-radius: @border-radius-base; padding: 0 @control-padding-horizontal - 1px; display: block; .placeholder(); - - &[disabled] { - .disabled(); - } } &-lg { @@ -109,7 +103,7 @@ border-left: @border-width-base @border-style-base @border-color-base; width: 22px; height: 100%; - background: @component-background; + background: transparent; position: absolute; top: 0; right: 0;