🎨 Ajout d'un titre a l'icone de recherche

pull/206/head
Mael 2018-03-29 11:14:00 +02:00 committed by Laurent Bossavit
parent f480eff8b8
commit e5f2a55e17
2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,10 @@
#searchButton button {
margin: 0.6em 0;
border: none;
font-size: 110%;
padding: 0 .6em;
}
#searchButton i {
font-size: 180%;
}
#searchButton {
display: flex;

View File

@ -44,12 +44,11 @@ export default class SearchButton extends Component {
<SearchBar showDefaultList={false} finally={this.close} rules={flatRules} />
</Overlay>
) : (
<button onClick={() => this.setState({ visible: true })}>
<i
style={{ color: this.props.colours.colour }}
className="fa fa-search"
aria-hidden="true"
/>
<button
onClick={() => this.setState({ visible: true })}
style={{ color: this.props.colours.colour }}
>
<i className="fa fa-search" aria-hidden="true" /> Recherche
</button>
)}
</div>