Skip to content

Commit

Permalink
fix: increase map search bar width (#1741)
Browse files Browse the repository at this point in the history
* fix: increase map search bar width

* fix: rename wideSearch to wideSearchOverride
  • Loading branch information
paulschreiber authored Jul 10, 2024
1 parent c54ade0 commit 1aaba20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dev-client/src/components/ListFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,9 @@ export const searchBarStyles = StyleSheet.create({
height: 40,
justifyContent: 'center',
},
wideSearchOverride: {
width: '95%',
},
input: {
minHeight: 40,
},
Expand Down
5 changes: 4 additions & 1 deletion dev-client/src/screens/HomeScreen/components/MapSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,10 @@ export default function MapSearch({zoomTo, zoomToUser, toggleMapLayer}: Props) {
}}
value={query}
placeholder={t('search.placeholder')}
style={searchBarStyles.search}
style={{
...searchBarStyles.search,
...searchBarStyles.wideSearchOverride,
}}
inputStyle={searchBarStyles.input}
/>
)}
Expand Down

0 comments on commit 1aaba20

Please sign in to comment.