fix cascader input style

pull/2433/head
afc163 9 years ago
parent 1c68f17b81
commit a535238d68

@ -121,7 +121,7 @@ export default class Cascader extends React.Component {
>
<Input {...inputProps}
placeholder={this.state.value && this.state.value.length > 0 ? null : placeholder}
className={`${prefixCls}-input ant-input ${sizeCls}`}
className={`${prefixCls}-input ${sizeCls}`}
value={null}
disabled={disabled}
readOnly

@ -5,7 +5,7 @@
.@{cascader-prefix-cls} {
font-size: @font-size-base;
&-input {
&-input.ant-input {
display: block;
cursor: pointer;
width: 100%;

Loading…
Cancel
Save