From 0aaef3893d589cb28f43362b9e4c50d14bfaa5f1 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 18 Jan 2021 17:21:47 -0500 Subject: updated style --- src/components/search/RecentSearches.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/components/search') 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 = (props) => { return ( - <> + {props.sectionTitle} {props.sectionButtonTitle && ( @@ -35,21 +35,25 @@ const RecentSearches: React.FC = (props) => { previewType={props.sectionTitle} screenType={props.screenType} /> - + ); }; 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, }, -- cgit v1.2.3-70-g09d2