diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-01-20 16:38:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-20 16:38:16 -0500 |
| commit | 30a7a34f8c5eb379de4e5ebe38cfeeb259f3f1e3 (patch) | |
| tree | 499337451a1d03944f1bb225b4de93295e1eef22 /src/components/search/RecentSearches.tsx | |
| parent | 929dac6e6768cd5c4c64e12543bd89ee3d46bcd1 (diff) | |
| parent | df3482ae3586868690c9edc963448e66878038bf (diff) | |
Merge pull request #189 from IvanIFChen/tma530-zoom-out-search-page
[TMA-530] Zoom Out Search Page
Diffstat (limited to 'src/components/search/RecentSearches.tsx')
| -rw-r--r-- | src/components/search/RecentSearches.tsx | 14 |
1 files changed, 9 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, }, |
