fix(ui): Fix text overflow when quoting a file

Fixes #261.
This commit is contained in:
PapaTutuWawa 2023-03-17 21:28:32 +01:00
parent 8f68292dfd
commit 9d0a84b317

View File

@ -113,7 +113,8 @@ class QuotedMediaBaseWidget extends StatelessWidget {
Row( Row(
children: [ children: [
child, child,
Padding( Expanded(
child: Padding(
padding: const EdgeInsets.only(left: 8), padding: const EdgeInsets.only(left: 8),
child: Column( child: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
@ -129,10 +130,12 @@ class QuotedMediaBaseWidget extends StatelessWidget {
style: TextStyle( style: TextStyle(
color: getQuoteTextColor(context, resetQuote != null), color: getQuoteTextColor(context, resetQuote != null),
), ),
overflow: TextOverflow.ellipsis,
), ),
], ],
), ),
), ),
),
], ],
), ),
sent, sent,