move input-number width to css

This commit is contained in:
afc163 2015-11-05 17:35:21 +08:00
parent 19c385ce58
commit 2f18d05759
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,6 @@ export default React.createClass({
} else if (this.props.size === 'small') {
sizeClass = 'ant-input-number-sm';
}
return <InputNumber className={sizeClass} style={{width: 90}} {...this.props} />;
return <InputNumber className={sizeClass} {...this.props} />;
}
});

View File

@ -15,6 +15,7 @@
border: 1px solid #D9D9D9;
border-radius: @border-radius-base;
overflow: hidden;
width: 90px;
&-handler {
text-align: center;