File tree 2 files changed +11
-6
lines changed
2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,11 @@ export const NavbarView: FC<NavbarViewProps> = ({
113
113
114
114
return (
115
115
< nav
116
- css = { ( theme ) => ( {
116
+ css = { {
117
117
height : navHeight ,
118
118
background : theme . palette . background . paper ,
119
119
borderBottom : `1px solid ${ theme . palette . divider } ` ,
120
- } ) }
120
+ } }
121
121
>
122
122
< div css = { styles . wrapper } >
123
123
< IconButton
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ export const Filter: FC<FilterProps> = ({
171
171
learnMoreLink2,
172
172
presets,
173
173
} ) => {
174
+ const theme = useTheme ( ) ;
174
175
// Storing local copy of the filter query so that it can be updated more
175
176
// aggressively without re-renders rippling out to the rest of the app every
176
177
// single time. Exists for performance reasons - not really a good way to
@@ -198,9 +199,13 @@ export const Filter: FC<FilterProps> = ({
198
199
< div
199
200
css = { {
200
201
display : "flex" ,
201
- flexWrap : "wrap" ,
202
202
gap : 8 ,
203
203
marginBottom : 16 ,
204
+ flexWrap : "nowrap" ,
205
+
206
+ [ theme . breakpoints . down ( "md" ) ] : {
207
+ flexWrap : "wrap" ,
208
+ } ,
204
209
} }
205
210
>
206
211
{ isLoading ? (
@@ -248,7 +253,7 @@ export const Filter: FC<FilterProps> = ({
248
253
zIndex : 2 ,
249
254
} ,
250
255
"& input::placeholder" : {
251
- color : ( theme ) => theme . palette . text . secondary ,
256
+ color : theme . palette . text . secondary ,
252
257
} ,
253
258
"& .MuiInputAdornment-root" : {
254
259
marginLeft : 0 ,
@@ -260,10 +265,10 @@ export const Filter: FC<FilterProps> = ({
260
265
startAdornment : (
261
266
< InputAdornment position = "start" >
262
267
< SearchOutlined
263
- css = { ( theme ) => ( {
268
+ css = { {
264
269
fontSize : 14 ,
265
270
color : theme . palette . text . secondary ,
266
- } ) }
271
+ } }
267
272
/>
268
273
</ InputAdornment >
269
274
) ,
You can’t perform that action at this time.
0 commit comments