From 586197a639d264a80fc73588a6ed8bbb4855b44c Mon Sep 17 00:00:00 2001 From: Marcos Hernandez Date: Thu, 11 Apr 2024 22:14:00 -0700 Subject: [PATCH] chanegs made --- src/components/ContentCard/ContentCard.tsx | 43 ++++++++-------------- src/components/ContentCard/styles.ts | 2 +- src/components/PreviewCard/PreviewCard.tsx | 37 ++++++++----------- src/components/PreviewCard/styles.ts | 2 +- 4 files changed, 34 insertions(+), 50 deletions(-) diff --git a/src/components/ContentCard/ContentCard.tsx b/src/components/ContentCard/ContentCard.tsx index 6232591..dd62a58 100644 --- a/src/components/ContentCard/ContentCard.tsx +++ b/src/components/ContentCard/ContentCard.tsx @@ -59,33 +59,22 @@ function ContentCard({ - - null} - style={{ flexDirection: 'row' }} - > - - - - - - - - - - {/* heart, clap, muscle, cry, ??? */} - - - 14{/*change number to work*/} - - - + + + + + + + + + + + {/* heart, clap, muscle, cry, ??? */} + + + 14{/*change number to work*/} + + saveStory()}> - - null} - style={{ flexDirection: 'row' }} - > - - - - - - - - - - {/* heart, clap, muscle, cry, ??? */} - - - 14{/*change number to work*/} - - - + + + + + + + + + + + {/* heart, clap, muscle, cry, ??? */} + + + 14{/*change number to work*/} + + {(tags?.length ?? 0) > 0 && ( diff --git a/src/components/PreviewCard/styles.ts b/src/components/PreviewCard/styles.ts index 0f4ffb2..9f9520a 100644 --- a/src/components/PreviewCard/styles.ts +++ b/src/components/PreviewCard/styles.ts @@ -108,7 +108,7 @@ const styles = StyleSheet.create({ color: colors.grey, }, reactionNumber: { - marginLeft: 10, + marginLeft: 14, marginTop: 16, }, storyDescription: {