aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-08 05:50:16 -0500
committerLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-08 05:50:16 -0500
commit15be1b2de2a817c55ddffc468a895847ed14e31d (patch)
treef5eee717bfd160a449ea49cb22303e544a16b33d
parent32bf3bf2cfa2f4499711225b2f1da5f3ed274832 (diff)
Resolve styling issues
-rw-r--r--src/components/search/SearchResultCell.tsx4
-rw-r--r--src/components/search/SearchResultsBackground.tsx1
2 files changed, 3 insertions, 2 deletions
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<SearchResults> = ({
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: {