increases the bottom margin of conversation UI so that latest message

shows up above the input
This commit is contained in:
ajaythapliyal
2023-02-27 07:49:18 +05:30
parent f703b89c00
commit 34fb20ce12

View File

@@ -36,7 +36,7 @@ export default function Conversation() {
return (
<ConversationBubble
ref={index === messages.length - 1 ? endMessageRef : null}
className={`${index === messages.length - 1 ? 'mb-20' : 'mb-7'}`}
className={`${index === messages.length - 1 ? 'mb-24' : 'mb-7'}`}
key={index}
message={message.text}
type={message.type}