Merge pull request #2034 from Kelrap/file-overflow
fix: Add flexible to file messages to prevent long name overflow
This commit is contained in:
commit
0aefd17809
1 changed files with 21 additions and 19 deletions
|
|
@ -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 {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue