Remove hidden overflow property of tailwind + Update buttons position (under textarea) (#2856)

Please be aware of the lint prettier failed
This commit is contained in:
Quentin Macheda 2024-05-03 09:11:29 +01:00 committed by GitHub
parent c6182ab59c
commit 2016eae0c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,11 +129,11 @@ const EditChatInput: React.FC<Props> = ({ message }) => {
} }
return ( return (
<div className="mx-auto flex w-full flex-shrink-0 items-end justify-center space-x-4 pb-0 pt-1"> <div className="mx-auto flex w-full flex-col flex-shrink-0 items-start justify-center space-y-4 pb-0 pt-1">
<div className="relative flex w-full flex-col"> <div className="relative flex w-full flex-col">
<Textarea <Textarea
className={twMerge( className={twMerge(
'max-h-[400px] resize-none overflow-y-hidden pr-20' 'max-h-[400px] resize-none pr-20'
)} )}
style={{ height: '40px' }} style={{ height: '40px' }}
ref={textareaRef} ref={textareaRef}