mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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') {
|
} else if (this.props.size === 'small') {
|
||||||
sizeClass = 'ant-input-number-sm';
|
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: 1px solid #D9D9D9;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 90px;
|
||||||
|
|
||||||
&-handler {
|
&-handler {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user