File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
src/frontend/gatsby/src/components/SearchBar Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import {
11
11
IconButton ,
12
12
Box ,
13
13
Typography ,
14
- Fab ,
15
14
} from '@material-ui/core' ;
16
15
17
16
import SearchInput from '../SearchInput' ;
@@ -61,10 +60,9 @@ const useStyles = makeStyles((theme) => ({
61
60
color : theme . palette . primary . contrastText ,
62
61
} ,
63
62
margin : 0 ,
64
- position : 'relative' ,
65
- bottom : theme . spacing ( 6 ) ,
66
- float : 'right' ,
67
- marginBottom : theme . spacing ( - 5.5 ) ,
63
+ position : 'absolute' ,
64
+ right : '10px' ,
65
+ top : '6px' ,
68
66
} ,
69
67
selectControl : {
70
68
'& > *' : {
@@ -104,13 +102,6 @@ function CustomizedInputBase(props) {
104
102
</ Grid >
105
103
< SearchHelp />
106
104
</ Grid >
107
- < Fab size = "large" className = { classes . iconButton } >
108
- < FormControl >
109
- < IconButton type = "submit" onClick = { onSubmit } aria-label = "search" >
110
- < SearchIcon />
111
- </ IconButton >
112
- </ FormControl >
113
- </ Fab >
114
105
< Grid container direction = "row" spacing = { 2 } alignItems = "center" justify = "flex-start" >
115
106
< Grid item xs = { 12 } sm = { 2 } lg = { 2 } >
116
107
< FormControl fullWidth >
@@ -134,6 +125,14 @@ function CustomizedInputBase(props) {
134
125
< Grid item xs = { 12 } sm = { 10 } lg = { 10 } >
135
126
< FormControl fullWidth >
136
127
< SearchInput filter = { filter } text = { text } onChange = { onTextChange } />
128
+ < IconButton
129
+ className = { classes . iconButton }
130
+ type = "submit"
131
+ onClick = { onSubmit }
132
+ aria-label = "search"
133
+ >
134
+ < SearchIcon />
135
+ </ IconButton >
137
136
</ FormControl >
138
137
</ Grid >
139
138
</ Grid >
You can’t perform that action at this time.
0 commit comments