From dc415e22f528ca4d380eb57b9c347727f6cd249c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Fri, 7 Jul 2023 12:46:56 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(chatMessage/index.tsx):=20re?= =?UTF-8?q?move=20unnecessary=20class=20name=20"bg-border"=20to=20fix=20st?= =?UTF-8?q?yling=20issue=20=E2=9C=A8=20feat(chatMessage/index.tsx):=20add?= =?UTF-8?q?=20labels=20for=20chatbot=20and=20user=20avatars=20to=20improve?= =?UTF-8?q?=20accessibility=20and=20user=20experience=20=F0=9F=90=9B=20fix?= =?UTF-8?q?(chatMessage/index.tsx):=20adjust=20styling=20of=20chat=20messa?= =?UTF-8?q?ge=20content=20to=20prevent=20overflow=20and=20improve=20readab?= =?UTF-8?q?ility=20=F0=9F=90=9B=20fix(chatMessage/index.tsx):=20adjust=20b?= =?UTF-8?q?utton=20background=20color=20to=20match=20the=20background=20co?= =?UTF-8?q?lor=20of=20the=20chat=20message=20container?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modals/formModal/chatMessage/index.tsx | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/frontend/src/modals/formModal/chatMessage/index.tsx b/src/frontend/src/modals/formModal/chatMessage/index.tsx index 092d33092..deaa4a6ef 100644 --- a/src/frontend/src/modals/formModal/chatMessage/index.tsx +++ b/src/frontend/src/modals/formModal/chatMessage/index.tsx @@ -36,22 +36,28 @@ export default function ChatMessage({
-
+
{!chat.isSend ? ( -
- 🤖 +
+
+ 🤖 +
+ Chatbot
) : ( -
- 👨‍💻 +
+
+ 👨‍💻 +
+ User
)}
{!chat.isSend ? ( -
+
{hidden && chat.thought && chat.thought !== "" && (