diff --git a/client/src/components/Chat.jsx b/client/src/components/Chat.jsx index 6319fdc6..dc4d1a9a 100644 --- a/client/src/components/Chat.jsx +++ b/client/src/components/Chat.jsx @@ -217,7 +217,7 @@ const Chat = () => { } setMessage(e.target.value); adjustTextareaHeight(inputRef); - e.target.style.height = '45px'; + e.target.style.height = '48px'; e.target.style.height = `${e.target.scrollHeight}px`; }, 500); @@ -320,7 +320,7 @@ const Chat = () => {

{sortedMessages.map( ({ senderId: sender, id, message, time, status, isEdited, oldMessages, containsBadword, isRead }) => { diff --git a/client/src/components/Chat/MessageInput.jsx b/client/src/components/Chat/MessageInput.jsx index b7fa87a4..c84d7071 100644 --- a/client/src/components/Chat/MessageInput.jsx +++ b/client/src/components/Chat/MessageInput.jsx @@ -58,7 +58,7 @@ const MessageInput = ({