aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-06-21 13:47:17 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-06-21 13:47:17 -0700
commitb36393c73ad0295d4ac26af7fe874db8dc05f9d3 (patch)
tree2a1ec18c3e20b8e737f8545c89d8e339138cdb06 /src/components
parent7e7da1aece223d25b5b4720e85994153f1c18e04 (diff)
Add styles
Diffstat (limited to 'src/components')
-rw-r--r--src/components/moments/MomentPost.tsx41
1 files changed, 37 insertions, 4 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx
index c7224566..10c3b711 100644
--- a/src/components/moments/MomentPost.tsx
+++ b/src/components/moments/MomentPost.tsx
@@ -307,10 +307,6 @@ const MomentPost: React.FC<MomentPostProps> = ({
};
const styles = StyleSheet.create({
- postHeader: {},
- postContent: {
- paddingBottom: normalize(20),
- },
image: {
width: SCREEN_WIDTH,
marginBottom: '3%',
@@ -364,6 +360,43 @@ const styles = StyleSheet.create({
justifyContent: 'center',
alignItems: 'center',
},
+ commentsCountContainer: {
+ position: 'absolute',
+ right: '2%',
+ bottom: SCREEN_HEIGHT * 0.12,
+ },
+ bottomContainer: {
+ flexDirection: 'column',
+ justifyContent: 'flex-end',
+ },
+ topContainer: {
+ paddingTop: HeaderHeight,
+ alignSelf: 'flex-end',
+ paddingRight: '8%',
+ },
+ contentContainer: {
+ position: 'absolute',
+ width: SCREEN_WIDTH,
+ height: SCREEN_HEIGHT,
+ flexDirection: 'column',
+ justifyContent: 'space-between',
+ paddingBottom: '24%',
+ },
+ tagsContainer: {
+ position: 'absolute',
+ top: 0,
+ bottom: 0,
+ left: 0,
+ right: 0,
+ marginBottom: '3%',
+ },
+ mainContainer: {
+ backgroundColor: 'black',
+ width: SCREEN_WIDTH,
+ height: SCREEN_HEIGHT,
+ flexDirection: 'column',
+ justifyContent: 'center',
+ },
});
export default MomentPost;