Yuken Tezuka 3 лет назад
Родитель
Сommit
b76fd0aed0
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      packages/app/src/components/PageComment.tsx

+ 4 - 4
packages/app/src/components/PageComment.tsx

@@ -174,8 +174,8 @@ export const PageComment: FC<PageCommentProps> = memo((props:PageCommentProps):
                   {commentElement(comment)}
                   {hasReply && replyCommentsElement(allReplies[comment._id])}
                   {(!isReadOnly && !showEditorIds.has(comment._id)) && (
-                    <NotAvailableForGuest>
-                      <div className="text-right">
+                    <div className="d-flex flex-row-reverse">
+                      <NotAvailableForGuest>
                         <Button
                           outline
                           color="secondary"
@@ -187,8 +187,8 @@ export const PageComment: FC<PageCommentProps> = memo((props:PageCommentProps):
                         >
                           <i className="icon-fw icon-action-undo"></i> Reply
                         </Button>
-                      </div>
-                    </NotAvailableForGuest>
+                      </NotAvailableForGuest>
+                    </div>
                   )}
                   {(!isReadOnly && showEditorIds.has(comment._id)) && (
                     <CommentEditor