aboutsummaryrefslogtreecommitdiff
path: root/src/components/search/SearchResultsBackground.tsx
diff options
context:
space:
mode:
authorLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-08 06:40:16 -0500
committerLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-08 06:40:16 -0500
commit973c8a03681724f2e303fcd021301764bfc4717c (patch)
tree6bef0a405a92185d08b0850d199ee507e8bfe90c /src/components/search/SearchResultsBackground.tsx
parenta3b9a1e6cfa0ad5e0a8ce4378de905d312c7fee3 (diff)
Fix minor styling issues
Diffstat (limited to 'src/components/search/SearchResultsBackground.tsx')
-rw-r--r--src/components/search/SearchResultsBackground.tsx14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/components/search/SearchResultsBackground.tsx b/src/components/search/SearchResultsBackground.tsx
index 94f5d59f..25dcf781 100644
--- a/src/components/search/SearchResultsBackground.tsx
+++ b/src/components/search/SearchResultsBackground.tsx
@@ -21,7 +21,7 @@ const SearchResultsBackground: React.FC<SearchResultsBackgroundProps> = ({
return (
<Animated.View
style={[styles.container, {opacity: opacityBackground, top}]}>
- <Animated.View style={[styles.results, {opacity: opacityContent}]}>
+ <Animated.View style={{opacity: opacityContent}}>
{children}
</Animated.View>
</Animated.View>
@@ -33,16 +33,10 @@ const styles = StyleSheet.create({
height: SCREEN_HEIGHT,
width: SCREEN_WIDTH,
position: 'absolute',
- backgroundColor: '#fff',
- paddingHorizontal: 25,
+ backgroundColor: 'white',
+ paddingTop: 60,
+ paddingBottom: 10,
zIndex: 0,
},
- contentContainer: {
- flexGrow: 1,
- paddingBottom: SCREEN_HEIGHT / 15,
- },
- results: {
- marginTop: StatusBarHeight,
- },
});
export default SearchResultsBackground;