From 2d7f60ae7fb296ed7479b56c8aaf8786176c4825 Mon Sep 17 00:00:00 2001 From: dhairyasenjaliya Date: Wed, 31 May 2023 23:40:18 +0530 Subject: [PATCH] Fix replay component position when edit message --- src/pages/home/report/ReportActionItem.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index c6eb8f9240f7..83d473abfae2 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -330,12 +330,13 @@ function ReportActionItem(props) { const shouldDisplayThreadReplies = hasReplies && props.action.childCommenterCount && Permissions.canUseThreads(props.betas) && !ReportUtils.isThreadFirstChat(props.action, props.report.reportID); const oldestFourEmails = lodashGet(props.action, 'childOldestFourEmails', '').split(','); + const draftMessageRightAlign = props.draftMessage ? styles.chatItemReactionsDraftRight : {}; return ( <> {children} {hasReactions && ( - + )} {shouldDisplayThreadReplies && ( - + + + )} );