From 38606552d4341860ee46fc065b725fe8eeb386d7 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 2 Mar 2016 18:48:37 +0800 Subject: [PATCH] improve InputNumber style --- style/components/inputNumber.less | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/style/components/inputNumber.less b/style/components/inputNumber.less index 5a1c6af2d0..6607158b8e 100644 --- a/style/components/inputNumber.less +++ b/style/components/inputNumber.less @@ -22,7 +22,7 @@ height: 28px; display: inline-block; vertical-align: middle; - border: 1px solid #d9d9d9; + border: 1px solid @border-color-base; border-radius: @border-radius-base; overflow: hidden; width: 90px; @@ -158,11 +158,13 @@ } &-handler-wrap { - float: right; - border-left: 1px solid #d9d9d9; + border-left: 1px solid @border-color-base; width: 22px; height: 28px; - position: relative; + background: #fff; + position: absolute; + top: 0; + right: 0; opacity: 0; transition: opacity 0.24s linear 0.1s; } @@ -189,7 +191,7 @@ } &-handler-down { - border-top: 1px solid #d9d9d9; + border-top: 1px solid @border-color-base; top: -1px; cursor: pointer; &-inner {