💄 use marginRight remind developer

This commit is contained in:
ycjcl868 2019-06-04 19:46:01 +08:00
parent 4a793846f5
commit ff680a5376

View File

@ -85,7 +85,12 @@ class Complete extends React.Component {
>
<Input
suffix={
<Button className="search-btn" size="large" type="primary">
<Button
className="search-btn"
style={{ marginRight: -12 }}
size="large"
type="primary"
>
<Icon type="search" />
</Button>
}
@ -116,10 +121,6 @@ ReactDOM.render(<Complete />, mountNode);
padding-right: 62px;
}
.global-search.ant-select-auto-complete .ant-input-affix-wrapper .ant-input-suffix {
right: 0;
}
.global-search.ant-select-auto-complete .ant-input-affix-wrapper .ant-input-suffix button {
border-top-left-radius: 0;
border-bottom-left-radius: 0;