aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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%',