From 8183ce18a4b8fedb02c5af59f3021cc4d75f29f7 Mon Sep 17 00:00:00 2001 From: Leon Jiang <35908040+leonyjiang@users.noreply.github.com> Date: Sun, 7 Mar 2021 23:45:57 -0500 Subject: Update and prune style rules --- src/components/search/SearchResultsBackground.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/components/search') diff --git a/src/components/search/SearchResultsBackground.tsx b/src/components/search/SearchResultsBackground.tsx index f6f40f52..7339b3ea 100644 --- a/src/components/search/SearchResultsBackground.tsx +++ b/src/components/search/SearchResultsBackground.tsx @@ -21,7 +21,8 @@ const SearchResultsBackground: React.FC = ({ return ( - + {children} @@ -29,19 +30,14 @@ const SearchResultsBackground: React.FC = ({ }; const styles = StyleSheet.create({ container: { - flex: 1, height: SCREEN_HEIGHT, width: SCREEN_WIDTH, position: 'absolute', - backgroundColor: '#fff', - zIndex: 0, + backgroundColor: 'white', }, contentContainer: { - flexGrow: 1, + flex: 1, paddingBottom: SCREEN_HEIGHT / 15, }, - results: { - marginTop: StatusBarHeight, - }, }); export default SearchResultsBackground; -- cgit v1.2.3-70-g09d2