Enable scroll in EmailComposerFields body and separate attachments
Merged
EL
1h ago+2+2+0123456789-0-0-0123456789
Fixes #30447
Problem
In the side-panel email composer (EmailComposerFields.tsx), StyledBody has flex: 1 and min-height: 0 without overflow-y: auto, and StyledAttachments has zero top padding and no flex-shrink: 0. Long email bodies or quoted reply threads overflow out of view and overlap the attachment list.
Solution
- Add
overflow-y: autotoStyledBodyso long email bodies and quoted threads scroll inside the composer body area. - Add
flex-shrink: 0and top spacing (${themeCssVariables.spacing[2]}) toStyledAttachmentsso attachments stay separated below the scrollable body.