mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
move input-number width to css
This commit is contained in:
parent
19c385ce58
commit
2f18d05759
@ -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} />;
|
||||
}
|
||||
});
|
||||
|
@ -15,6 +15,7 @@
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: @border-radius-base;
|
||||
overflow: hidden;
|
||||
width: 90px;
|
||||
|
||||
&-handler {
|
||||
text-align: center;
|
||||
|
Loading…
Reference in New Issue
Block a user