aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-11 17:44:24 -0400
committerIvan Chen <ivan@tagg.id>2021-06-11 17:44:24 -0400
commit22a58b2ad08297b6d5dd3dd241ae23a756ae7552 (patch)
tree94b459cb819600a014076f73f1d118616b27bd5e /src/components
parentbcfbaf00f60b65ab5f8c38ff8766644a2496bed1 (diff)
Adjust mention text padding
Diffstat (limited to 'src/components')
-rw-r--r--src/components/moments/MomentCommentPreview.tsx2
-rw-r--r--src/components/moments/MomentPostContent.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/moments/MomentCommentPreview.tsx b/src/components/moments/MomentCommentPreview.tsx
index 092f8936..e53ed258 100644
--- a/src/components/moments/MomentCommentPreview.tsx
+++ b/src/components/moments/MomentCommentPreview.tsx
@@ -50,7 +50,7 @@ const MomentCommentPreview: React.FC<MomentCommentPreviewProps> = ({
{renderTextWithMentions({
value: commentPreview.comment,
styles: styles.normalFont,
- partTypes: mentionPartTypes('commentPreview'),
+ partTypes: mentionPartTypes('white'),
onPress: (user: UserType) =>
navigateToProfile(
state,
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/MomentPostContent.tsx
index e43cba4f..aca2999c 100644
--- a/src/components/moments/MomentPostContent.tsx
+++ b/src/components/moments/MomentPostContent.tsx
@@ -112,7 +112,7 @@ const MomentPostContent: React.FC<MomentPostContentProps> = ({
renderTextWithMentions({
value: moment.caption,
styles: styles.captionText,
- partTypes: mentionPartTypes('momentCaption'),
+ partTypes: mentionPartTypes('white'),
onPress: (user: UserType) =>
navigateToProfile(
state,