aboutsummaryrefslogtreecommitdiff
path: root/src/components/moments/MomentPost.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-07 16:18:25 -0400
committerIvan Chen <ivan@tagg.id>2021-06-08 16:18:34 -0400
commit040ff3d591ea3874dab85325dc437494fb47e287 (patch)
tree6e0e0220da9969bd321af8336986ccacddc180c8 /src/components/moments/MomentPost.tsx
parent960b1516bc06c1fa16ba47a4aab62c94c3b10beb (diff)
Cleanup styles
Diffstat (limited to 'src/components/moments/MomentPost.tsx')
-rw-r--r--src/components/moments/MomentPost.tsx29
1 files changed, 7 insertions, 22 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx
index 7149a5b4..926ae931 100644
--- a/src/components/moments/MomentPost.tsx
+++ b/src/components/moments/MomentPost.tsx
@@ -71,7 +71,7 @@ const MomentPost: React.FC<MomentPostProps> = ({item, userXId, screenType}) => {
};
return (
- <View style={styles.postContainer}>
+ <>
<MomentPostHeader
userXId={userXId}
screenType={screenType}
@@ -90,33 +90,18 @@ const MomentPost: React.FC<MomentPostProps> = ({item, userXId, screenType}) => {
screenType={screenType}
momentTags={tags}
/>
- </View>
+ </>
);
};
const styles = StyleSheet.create({
- contentContainer: {
- width: SCREEN_WIDTH,
- height: SCREEN_HEIGHT,
- paddingTop: StatusBarHeight,
- flex: 1,
- paddingBottom: 0,
- },
- content: {
- flex: 9,
- },
- header: {
- flex: 1,
- },
- postContainer: {
- height: ITEM_HEIGHT,
- width: SCREEN_WIDTH,
- flex: 1,
- },
postHeader: {
- flex: 1,
+ // borderWidth: 1,
+ },
+ postContent: {
+ // borderWidth: 1,
+ marginBottom: 10,
},
- postContent: {flex: 9},
});
export default MomentPost;