feat: add avatar to message view

This commit is contained in:
steven
2023-03-24 14:29:43 +08:00
parent 11141399aa
commit f2c4e33be4
2 changed files with 19 additions and 8 deletions

View File

@ -67,7 +67,7 @@ const MessageTextarea = (props: Props) => {
<div className="w-full h-auto flex flex-row justify-between items-end border rounded-lg mb-2 px-2 py-1 relative shadow bg-white">
<TextareaAutosize
ref={textareaRef}
className="w-full h-full outline-none border-none bg-transparent leading-8 py-1 px-2 resize-none hide-scrollbar"
className="w-full h-full outline-none border-none bg-transparent leading-6 py-2 px-2 resize-none hide-scrollbar"
placeholder="Type a message..."
rows={1}
minRows={1}