From 6db7d9bd2dfe5c5d854622e3ca8932c825038710 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 11 Aug 2022 12:35:38 +0100 Subject: [PATCH] Fixes for super long expertise in form and comments refs https://github.com/TryGhost/Team/issues/1758 --- apps/comments-ui/src/components/Comment.js | 2 +- apps/comments-ui/src/components/Form.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/comments-ui/src/components/Comment.js b/apps/comments-ui/src/components/Comment.js index 3192162d98..6196d6c967 100644 --- a/apps/comments-ui/src/components/Comment.js +++ b/apps/comments-ui/src/components/Comment.js @@ -105,7 +105,7 @@ const Comment = ({updateIsEditing = null, isEditing, ...props}) => {

{!comment.member ? 'Deleted member' : (comment.member.name ? comment.member.name : 'Anonymous')}

- + {memberBio && {memberBio}ยท} {formatRelativeTime(comment.created_at)} diff --git a/apps/comments-ui/src/components/Form.js b/apps/comments-ui/src/components/Form.js index e320d6c853..2f36d0a273 100644 --- a/apps/comments-ui/src/components/Form.js +++ b/apps/comments-ui/src/components/Form.js @@ -409,11 +409,11 @@ const Form = (props) => {
-
-
+
+
-
+
{ bioAutofocus: false }); }}>{memberName ? memberName : 'Anonymous'}
-
+