From 040ff3d591ea3874dab85325dc437494fb47e287 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 7 Jun 2021 16:18:25 -0400 Subject: Cleanup styles --- src/components/moments/MomentPost.tsx | 29 +++++++--------------------- src/components/moments/MomentPostContent.tsx | 9 +++++++-- 2 files changed, 14 insertions(+), 24 deletions(-) (limited to 'src') 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 = ({item, userXId, screenType}) => { }; return ( - + <> = ({item, userXId, screenType}) => { screenType={screenType} momentTags={tags} /> - + ); }; 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; diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx index 23eeae42..2f0f36f7 100644 --- a/src/components/moments/MomentPostContent.tsx +++ b/src/components/moments/MomentPostContent.tsx @@ -88,13 +88,18 @@ const MomentPostContent: React.FC = ({ {tags.length > 0 && ( )} {visible && ( - + null} + imageRef={imageRef} + /> )} -- cgit v1.2.3-70-g09d2