fix: Add flexible to file messages to prevent long name overflow

This commit is contained in:
Kelrap 2025-07-24 09:34:03 -04:00
commit c82b14971e

View file

@ -53,7 +53,8 @@ class MessageDownloadContent extends StatelessWidget {
backgroundColor: textColor.withAlpha(32), backgroundColor: textColor.withAlpha(32),
child: Icon(Icons.file_download_outlined, color: textColor), child: Icon(Icons.file_download_outlined, color: textColor),
), ),
Column( Flexible(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
@ -74,6 +75,7 @@ class MessageDownloadContent extends StatelessWidget {
), ),
], ],
), ),
),
], ],
), ),
), ),