Merge branch 'master' of github.com:ant-design/ant-design

This commit is contained in:
jljsj 2019-08-12 18:51:07 +08:00
commit 090afe0402
2 changed files with 6 additions and 2 deletions

View File

@ -62,7 +62,11 @@ class SearchInput extends React.Component {
};
handleSearch = value => {
fetch(value, data => this.setState({ data }));
if (value) {
fetch(value, data => this.setState({ data }));
} else {
this.setState({ data: [] });
}
};
handleChange = value => {

View File

@ -121,7 +121,7 @@
&-right {
.@{timeline-prefix-cls}-item-content {
width: calc(50% - 14px);
width: calc(50% - 12px);
margin: 0;
text-align: right;
}