From 08fe88eae4430f3cd8b2f16d9ae20f71cb4701b7 Mon Sep 17 00:00:00 2001 From: Bikram Ghuku Date: Thu, 2 May 2024 11:35:28 +0530 Subject: [PATCH] ui: modified ui for long message --- src/components/MessageElement.tsx | 4 ++-- src/components/Messages.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/MessageElement.tsx b/src/components/MessageElement.tsx index 225704e..0c70c46 100644 --- a/src/components/MessageElement.tsx +++ b/src/components/MessageElement.tsx @@ -20,7 +20,7 @@ function MessageElement({ messageInfo }: { messageInfo: message }) {
{selfData.name}
{messageInfo.timeStamp}
-
+
{messageInfo.message}
@@ -39,7 +39,7 @@ function MessageElement({ messageInfo }: { messageInfo: message }) {
{messageInfo.user}
{messageInfo.timeStamp}
-
+
{messageInfo.message}
diff --git a/src/components/Messages.tsx b/src/components/Messages.tsx index c5e5d8e..a44fbc8 100644 --- a/src/components/Messages.tsx +++ b/src/components/Messages.tsx @@ -47,7 +47,7 @@ function Messages({ return (
{message?.map((value, index) => ( -
+