From 15be1b2de2a817c55ddffc468a895847ed14e31d Mon Sep 17 00:00:00 2001 From: Leon Jiang <35908040+leonyjiang@users.noreply.github.com> Date: Mon, 8 Mar 2021 05:50:16 -0500 Subject: Resolve styling issues --- src/components/search/SearchResultCell.tsx | 4 ++-- src/components/search/SearchResultsBackground.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/search/SearchResultCell.tsx b/src/components/search/SearchResultCell.tsx index 8f7d922f..30675a74 100644 --- a/src/components/search/SearchResultCell.tsx +++ b/src/components/search/SearchResultCell.tsx @@ -167,8 +167,8 @@ const SearchResultsCell: React.FC = ({ const styles = StyleSheet.create({ cellContainer: { flexDirection: 'row', - marginHorizontal: SCREEN_WIDTH * 0.08, - marginBottom: SCREEN_WIDTH * 0.08, + paddingHorizontal: 0, + paddingVertical: 15, }, imageContainer: { width: SCREEN_WIDTH * 0.112, diff --git a/src/components/search/SearchResultsBackground.tsx b/src/components/search/SearchResultsBackground.tsx index f6f40f52..94f5d59f 100644 --- a/src/components/search/SearchResultsBackground.tsx +++ b/src/components/search/SearchResultsBackground.tsx @@ -34,6 +34,7 @@ const styles = StyleSheet.create({ width: SCREEN_WIDTH, position: 'absolute', backgroundColor: '#fff', + paddingHorizontal: 25, zIndex: 0, }, contentContainer: { -- cgit v1.2.3-70-g09d2