From 2f18d057591286f4235f59da884ea0caa230bc31 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 5 Nov 2015 17:35:21 +0800 Subject: [PATCH] move input-number width to css --- components/input-number/index.jsx | 2 +- style/components/inputNumber.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/input-number/index.jsx b/components/input-number/index.jsx index 1cf80e56ba..cf7fb0aee9 100644 --- a/components/input-number/index.jsx +++ b/components/input-number/index.jsx @@ -14,6 +14,6 @@ export default React.createClass({ } else if (this.props.size === 'small') { sizeClass = 'ant-input-number-sm'; } - return ; + return ; } }); diff --git a/style/components/inputNumber.less b/style/components/inputNumber.less index 95c21e930f..e9940462b1 100644 --- a/style/components/inputNumber.less +++ b/style/components/inputNumber.less @@ -15,6 +15,7 @@ border: 1px solid #D9D9D9; border-radius: @border-radius-base; overflow: hidden; + width: 90px; &-handler { text-align: center;