From 0cd5af5ffa1de153e37ceb3526ee557af6f74123 Mon Sep 17 00:00:00 2001 From: "Kilu.He" <108015703+qinluhe@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:15:38 +0800 Subject: [PATCH] fix: add comment tip (#5854) --- .../_shared/notify/InfoSnackbar.tsx | 6 +-- .../global-comment/add-comment/AddComment.tsx | 40 +++++++++++++------ .../add-comment/AddCommentWrapper.tsx | 3 +- frontend/resources/translations/en.json | 2 +- 4 files changed, 33 insertions(+), 18 deletions(-) diff --git a/frontend/appflowy_web_app/src/components/_shared/notify/InfoSnackbar.tsx b/frontend/appflowy_web_app/src/components/_shared/notify/InfoSnackbar.tsx index a5c36318fb..bc43e60c45 100644 --- a/frontend/appflowy_web_app/src/components/_shared/notify/InfoSnackbar.tsx +++ b/frontend/appflowy_web_app/src/components/_shared/notify/InfoSnackbar.tsx @@ -31,8 +31,8 @@ const InfoSnackbar = forwardRef( }; return ( - - + +
{getIcon(type)} @@ -45,7 +45,7 @@ const InfoSnackbar = forwardRef(
-
{message}
+
{message}
{showActions && (