Enable horizontally scrollable attachments. Fixes #406

This commit is contained in:
Enrico Ros
2024-02-08 18:11:12 -08:00
parent 3d39a35c03
commit 28b1090fd7
@@ -521,9 +521,10 @@ export function Composer(props: {
{/* [ Textarea + Overlays + Mic | Attachments ] */}
<Box sx={{
minWidth: 200, // enable X-scrolling (resetting any possible minWidth due to the attachments)
flexGrow: 1,
display: 'grid', gap: 1,
// layout
display: 'flex', flexDirection: 'column', gap: 1,
minWidth: 200, // flex: enable X-scrolling (resetting any possible minWidth due to the attachments)
}}>
{/* Textarea + Mic buttons + Mic/Drag overlay */}