move cascade style up

This commit is contained in:
yiminghe 2016-01-04 19:23:19 +08:00
parent af07048c27
commit c8038fde32
2 changed files with 5 additions and 3 deletions

View File

@ -71,10 +71,12 @@ class AntCascader extends React.Component {
onPopupVisibleChange={this.handlePopupVisibleChange}
onChange={this.handleChange}>
{children ||
<span className={`${prefixCls}-picker`}>
<span
style={style}
className={`${prefixCls}-picker`}>
<Input placeholder={placeholder}
className={`${prefixCls}-input ant-input ${sizeCls}`}
style={style}
style={{width: '100%'}}
value={this.getLabel()}
readOnly />
{clearIcon}

View File

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "0.12.0-beta3",
"version": "0.12.0-beta4",
"title": "Ant Design",
"description": "一个 UI 设计语言",
"homepage": "http://ant.design/",