diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-08 17:43:04 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-08 17:43:04 -0400 |
commit | 18770a692d03fb68267b51ef05cd4b58917b0e62 (patch) | |
tree | 019e242ea8f4c85acb56ea82903883bbb2f971d6 /src/components/moments/MomentPost.tsx | |
parent | c6832a84caf1f23c2115a3b8061e120f9fab623d (diff) |
Create MomentCommentPrevew component
Diffstat (limited to 'src/components/moments/MomentPost.tsx')
-rw-r--r-- | src/components/moments/MomentPost.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index ffdbed81..02dbffa3 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -5,7 +5,7 @@ import {MomentPostContent, MomentPostHeader} from '.'; import {deleteMomentTag, loadMomentTags} from '../../services'; import {RootState} from '../../store/rootReducer'; import {MomentPostType, MomentTagType, ScreenType} from '../../types'; -import {SCREEN_HEIGHT} from '../../utils'; +import {normalize, SCREEN_HEIGHT} from '../../utils'; interface MomentPostProps { moment: MomentPostType; @@ -97,6 +97,7 @@ const styles = StyleSheet.create({ postHeader: {}, postContent: { minHeight: SCREEN_HEIGHT * 0.8, + paddingBottom: normalize(20), }, }); |