diff options
Diffstat (limited to 'src/components/search')
| -rw-r--r-- | src/components/search/RecentSearches.tsx | 14 | ||||
| -rw-r--r-- | src/components/search/SearchBar.tsx | 1 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/components/search/RecentSearches.tsx b/src/components/search/RecentSearches.tsx index 22a36a6b..8a06017c 100644 --- a/src/components/search/RecentSearches.tsx +++ b/src/components/search/RecentSearches.tsx @@ -21,7 +21,7 @@ interface RecentSearchesProps extends TouchableOpacityProps { */ const RecentSearches: React.FC<RecentSearchesProps> = (props) => { return ( - <> + <View style={styles.mainContainer}> <View style={styles.container}> <Text style={styles.title}>{props.sectionTitle}</Text> {props.sectionButtonTitle && ( @@ -35,21 +35,25 @@ const RecentSearches: React.FC<RecentSearchesProps> = (props) => { previewType={props.sectionTitle} screenType={props.screenType} /> - </> + </View> ); }; const styles = StyleSheet.create({ + mainContainer: { + marginLeft: '3%', + }, container: { flexDirection: 'row', }, title: { - fontSize: 17, - fontWeight: 'bold', + fontSize: 18, + fontWeight: '600', flexGrow: 1, + marginBottom: '5%', }, clear: { - fontSize: 17, + fontSize: 18, fontWeight: 'bold', color: TAGG_TEXT_LIGHT_BLUE, }, diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index a711f8f8..3f666ef0 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -69,6 +69,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ onSubmitEditing={handleSubmit} clearButtonMode="while-editing" autoCapitalize="none" + autoCorrect={false} {...{value, onChangeText, onFocus, onBlur}} /> </Animated.View> |
