mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
Merge branch 'master' into antd-3.0
This commit is contained in:
commit
a3c7d6611c
@ -52,7 +52,7 @@ export default class AutoComplete extends React.Component<AutoCompleteProps, any
|
||||
const element = children && React.isValidElement(children) && children.type !== Option ?
|
||||
React.Children.only(this.props.children) : <Input />;
|
||||
return (
|
||||
<InputElement {...element.props}>{element}</InputElement>
|
||||
<InputElement>{element}</InputElement>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,12 @@
|
||||
|
||||
.@{input-prefix-cls} {
|
||||
background: transparent;
|
||||
border-width: @border-width-base;
|
||||
line-height: @line-height-base;
|
||||
&:focus,
|
||||
&:hover {
|
||||
.hover;
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
@ -54,13 +60,5 @@
|
||||
.input-sm();
|
||||
}
|
||||
}
|
||||
|
||||
.@{input-prefix-cls} {
|
||||
border-width: @border-width-base;
|
||||
&:focus,
|
||||
&:hover {
|
||||
.hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -461,7 +461,7 @@
|
||||
}
|
||||
|
||||
&-item > label + span {
|
||||
padding: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
&-sub {
|
||||
|
Loading…
Reference in New Issue
Block a user