@@ -583,11 +583,11 @@ export function EmailComposer({
583583 return (
584584 < div
585585 className = { cn (
586- 'no-scrollbar max-h-[500px] w-full max-w-[750px] overflow-hidden rounded-2xl bg-[#FAFAFA] p-0 py-0 shadow-sm dark:bg-[#202020]' ,
586+ 'flex max-h-[500px] w-full max-w-[750px] flex-col overflow-hidden rounded-2xl bg-[#FAFAFA] shadow-sm dark:bg-[#202020]' ,
587587 className ,
588588 ) }
589589 >
590- < div className = "no-scrollbar dark:bg-panelDark max -h-[500px] grow overflow-y-auto" >
590+ < div className = "no-scrollbar flex min -h-0 flex-1 flex-col overflow-y-auto dark:bg-panelDark " >
591591 { /* To, Cc, Bcc */ }
592592 < div className = "shrink-0 overflow-y-auto border-b border-[#E7E7E7] pb-2 dark:border-[#252525]" >
593593 < div className = "flex justify-between px-3 pt-3" >
@@ -1156,13 +1156,13 @@ export function EmailComposer({
11561156 ) }
11571157
11581158 { /* Message Content */ }
1159- < div className = "grow self-stretch overflow-y-auto border-t bg-[#FFFFFF] px-3 py-3 outline-white/5 dark:bg-[#202020]" >
1159+ < div className = "flex-1 overflow-y-auto border-t bg-[#FFFFFF] px-3 py-3 outline-white/5 dark:bg-[#202020]" >
11601160 < div
11611161 onClick = { ( ) => {
11621162 editor . commands . focus ( ) ;
11631163 } }
11641164 className = { cn (
1165- `max-h-[300px] min-h-[200px] w-full` ,
1165+ `min-h-[200px] w-full` ,
11661166 editorClassName ,
11671167 aiGeneratedMessage !== null ? 'blur-sm' : '' ,
11681168 ) }
@@ -1173,7 +1173,7 @@ export function EmailComposer({
11731173 </ div >
11741174
11751175 { /* Bottom Actions */ }
1176- < div className = "inline-flex w-full items-center justify-between self-stretch rounded-b-2xl bg-[#FFFFFF] px-3 py-3 outline-white/5 dark:bg-[#202020]" >
1176+ < div className = "inline-flex w-full shrink-0 items-center justify-between self-stretch rounded-b-2xl bg-[#FFFFFF] px-3 py-3 outline-white/5 dark:bg-[#202020]" >
11771177 < div className = "flex items-center justify-start gap-2" >
11781178 < div className = "flex items-center justify-start gap-2" >
11791179 < Button size = { 'xs' } onClick = { handleSend } disabled = { isLoading || settingsLoading } >
0 commit comments