From 5b70c7d1d7e68c5a21767849af3209e9f0dbf4b0 Mon Sep 17 00:00:00 2001 From: Sanne de Vries <65487235+sanne-san@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:39:17 +0100 Subject: [PATCH] Improved vertical indentation alignment (#21718) REF https://linear.app/ghost/issue/PLG-275/improve-vertical-indentation-alignment --- apps/comments-ui/src/components/content/Comment.tsx | 4 ++-- apps/comments-ui/src/components/content/forms/EditForm.tsx | 2 +- apps/comments-ui/src/components/content/forms/Form.tsx | 6 +++--- apps/comments-ui/src/components/content/forms/ReplyForm.tsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/comments-ui/src/components/content/Comment.tsx b/apps/comments-ui/src/components/content/Comment.tsx index e5896dcd89a..8009183d7f9 100644 --- a/apps/comments-ui/src/components/content/Comment.tsx +++ b/apps/comments-ui/src/components/content/Comment.tsx @@ -244,7 +244,7 @@ const RepliesContainer: React.FC = ({commen } return ( -
+
); @@ -316,7 +316,7 @@ const CommentHeader: React.FC = ({comment, className = ''})
{(isReplyToReply &&
- {t('Replied to')}:{comment.in_reply_to_snippet} + {t('Replied to')}{comment.in_reply_to_snippet}
)} diff --git a/apps/comments-ui/src/components/content/forms/EditForm.tsx b/apps/comments-ui/src/components/content/forms/EditForm.tsx index cbd00c4abc1..eba16be8995 100644 --- a/apps/comments-ui/src/components/content/forms/EditForm.tsx +++ b/apps/comments-ui/src/components/content/forms/EditForm.tsx @@ -60,7 +60,7 @@ const EditForm: React.FC = ({comment, openForm, parent}) => { }, [dispatchAction, openForm]); return ( -
+
= ({show, name, expertise, replyingT
{isReplyingToReply && ( -
- {t('Reply to')}: {replyingToText} +
+ {t('Reply to')}: {replyingToText}
)} @@ -329,7 +329,7 @@ const Form: React.FC = ({comment, submit, submitText, submitSize, clo return ( = ({openForm, parent}) => { return (
-
+