aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-07 16:21:54 -0400
committerIvan Chen <ivan@tagg.id>2021-06-08 16:18:34 -0400
commit47cde91048371301a17e072b8ec02861be563860 (patch)
treef35d8e1b238560918224d26c8f253f265a4a1668
parent040ff3d591ea3874dab85325dc437494fb47e287 (diff)
Cleanup styles
-rw-r--r--src/components/moments/MomentPost.tsx7
-rw-r--r--src/components/moments/MomentPostContent.tsx5
2 files changed, 3 insertions, 9 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx
index 926ae931..b97b8034 100644
--- a/src/components/moments/MomentPost.tsx
+++ b/src/components/moments/MomentPost.tsx
@@ -95,12 +95,9 @@ const MomentPost: React.FC<MomentPostProps> = ({item, userXId, screenType}) => {
};
const styles = StyleSheet.create({
- postHeader: {
- // borderWidth: 1,
- },
+ postHeader: {},
postContent: {
- // borderWidth: 1,
- marginBottom: 10,
+ minHeight: SCREEN_HEIGHT * 0.8,
},
});
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx
index 2f0f36f7..de31ad55 100644
--- a/src/components/moments/MomentPostContent.tsx
+++ b/src/components/moments/MomentPostContent.tsx
@@ -122,9 +122,7 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({
};
const styles = StyleSheet.create({
- container: {
- height: SCREEN_HEIGHT,
- },
+ container: {},
image: {
width: SCREEN_WIDTH,
aspectRatio: 1,
@@ -148,7 +146,6 @@ const styles = StyleSheet.create({
},
captionText: {
position: 'relative',
- paddingBottom: '34%',
paddingTop: '1%',
marginLeft: '5%',
marginRight: '5%',