提交 cbfb9109 编写于 作者: A afc163

fix search-input style of large size

上级 8d3537d1
......@@ -16,7 +16,7 @@ const SearchInput = React.createClass({
getInitialState() {
return {
value: '',
focus: false
focus: false,
};
},
handleInputChange(e) {
......@@ -48,7 +48,7 @@ const SearchInput = React.createClass({
<Input {...this.props} value={this.state.value} onChange={this.handleInputChange}
onFocus={this.handleFocusBlur} onBlur={this.handleFocusBlur} />
<div className="ant-input-group-wrap">
<Button className={btnCls} onClick={this.handleSearch}>
<Button className={btnCls} size={this.props.size} onClick={this.handleSearch}>
<Icon type="search" />
</Button>
</div>
......
......@@ -204,7 +204,8 @@ form {
.ant-search-btn {
.btn-default;
border-radius: 0 @border-radius-base - 1 @border-radius-base - 1 0;
margin-left: -30px;
margin-left: -100%;
left: -1px;
position: relative;
border-width: 0 0 0 1px;
z-index: 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册