mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
parent
5fe6cf5dfd
commit
0ed57be2f0
@ -164,7 +164,7 @@ export default class DocSearch extends React.Component {
|
||||
show={this.state.show}
|
||||
position={'right'}
|
||||
>
|
||||
<div className={`${this.props.theme.ns}TextControl-input search-bar`}>
|
||||
<div className={`search-bar`}>
|
||||
<Icon icon="search" className="icon" />
|
||||
<input
|
||||
ref={this.ref}
|
||||
|
@ -949,16 +949,23 @@ body {
|
||||
|
||||
.search-bar {
|
||||
padding: 22px 20px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #e8ebee;
|
||||
border-radius: 0;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
|
||||
> .icon-search {
|
||||
margin-right: 10px;
|
||||
top: 1px;
|
||||
}
|
||||
> input {
|
||||
flex-basis: 1.875rem;
|
||||
flex-grow: 1;
|
||||
border: none;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.search-result {
|
||||
|
Loading…
Reference in New Issue
Block a user