From 11a9aff8b609d4b787c2e791836377989c4cd4b9 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Sun, 2 Jan 2022 21:31:17 +0700 Subject: [PATCH] fixed comment form button order --- src/components/comment/CommentForm/index.tsx | 4 ++-- src/components/comment/CommentForm/styles.module.scss | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/comment/CommentForm/index.tsx b/src/components/comment/CommentForm/index.tsx index 41149477..a90375d9 100644 --- a/src/components/comment/CommentForm/index.tsx +++ b/src/components/comment/CommentForm/index.tsx @@ -79,8 +79,6 @@ const CommentForm: FC = ({ comment, nodeId, saveComment, onCancelEdit }) - -
{!!textarea && ( = ({ comment, nodeId, saveComment, onCancelEdit }) )}
+ +
{isLoading && } diff --git a/src/components/comment/CommentForm/styles.module.scss b/src/components/comment/CommentForm/styles.module.scss index b09e3bca..52fbc0f7 100644 --- a/src/components/comment/CommentForm/styles.module.scss +++ b/src/components/comment/CommentForm/styles.module.scss @@ -29,6 +29,8 @@ .button_column { padding: $gap / 4; + display: flex; + flex-direction: row; } .uploads {