From 6ba1390271d7e172d9a2e3fdb4f339615beda676 Mon Sep 17 00:00:00 2001 From: DenisVorop Date: Tue, 20 Feb 2024 17:33:10 +0300 Subject: [PATCH] fix: participants can change state of goals --- src/components/CommentForm/CommentForm.module.css | 3 +-- src/components/CommentForm/CommentForm.tsx | 8 +++----- src/components/GoalActivityFeed.tsx | 2 +- src/utils/db/createComment.ts | 14 ++++++++------ 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/components/CommentForm/CommentForm.module.css b/src/components/CommentForm/CommentForm.module.css index 937487b65..ee9403ebb 100644 --- a/src/components/CommentForm/CommentForm.module.css +++ b/src/components/CommentForm/CommentForm.module.css @@ -1,8 +1,7 @@ .FormHelpButton { display: flex; align-items: center; - justify-content: space-between; - padding-top: var(--gap-m); + margin-right: auto; } .CommentFormWrapper { diff --git a/src/components/CommentForm/CommentForm.tsx b/src/components/CommentForm/CommentForm.tsx index 81aeeb875..f6ac519f5 100644 --- a/src/components/CommentForm/CommentForm.tsx +++ b/src/components/CommentForm/CommentForm.tsx @@ -89,11 +89,9 @@ export const CommentForm: React.FC = ({ {nullable(focused, () => ( - -
- -
-
+
+ +
{nullable(!busy, () => (