From 4fecfabf2e5a6910809a0ccff021ac14e87ed758 Mon Sep 17 00:00:00 2001 From: Awais Ansari <79941147+awais-ansari@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:41:16 +0500 Subject: [PATCH] fix: add violates-guidelines edit reason as a default value for global staff (#323) * fix: remove horizontal scrollbar * fix: remove violates-guidelines edit reason as a default value for global staff * fix: global staff can edit comment/reply --- src/discussions/comments/comment/Comment.jsx | 2 +- .../comments/comment/CommentEditor.jsx | 16 +++++++++++----- src/discussions/posts/post-editor/PostEditor.jsx | 7 ++++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/discussions/comments/comment/Comment.jsx b/src/discussions/comments/comment/Comment.jsx index 6950bd11..2cdb6bc2 100644 --- a/src/discussions/comments/comment/Comment.jsx +++ b/src/discussions/comments/comment/Comment.jsx @@ -80,7 +80,7 @@ function Comment({ {isEditing ? ( - setEditing(false)} /> + setEditing(false)} formClasses="pt-3" /> ) : } { @@ -94,7 +98,7 @@ function CommentEditor({ handleChange, resetForm, }) => ( -
+ {canDisplayEditReason && (