File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,9 @@ class Searchbar extends React.Component {
47
47
const { searchValue } = this . state ;
48
48
return (
49
49
< div className = "searchbar" >
50
- < button
51
- type = "submit"
52
- className = "searchbar__button"
53
- onClick = { this . handleSearchEnter }
54
- >
50
+ < div className = "searchbar__button" >
55
51
< InlineSVG className = "searchbar__icon" src = { searchIcon } />
56
- </ button >
52
+ </ div >
57
53
< input
58
54
className = "searchbar__input"
59
55
type = "text"
Original file line number Diff line number Diff line change 22
22
width : #{31 / $base-font-size } rem;
23
23
height : #{36 / $base-font-size } rem;
24
24
position : absolute ;
25
- padding : 0 ;
25
+ display : flex ;
26
+ justify-content : center ;
27
+ align-items : center ;
26
28
border-right : solid 1px ;
27
29
@include themify () {
28
30
border-right-color : getThemifyVariable (' input-border-color' );
You can’t perform that action at this time.
0 commit comments