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,24 +113,27 @@ class QuotedMediaBaseWidget extends StatelessWidget {
Row(
children: [
child,
Padding(
padding: const EdgeInsets.only(left: 8),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
QuoteSenderText(
sender: message.sender,
resetQuoteNotNull: resetQuote != null,
sent: sent,
),
Text(
text,
style: TextStyle(
color: getQuoteTextColor(context, resetQuote != null),
Expanded(
child: Padding(
padding: const EdgeInsets.only(left: 8),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
QuoteSenderText(
sender: message.sender,
resetQuoteNotNull: resetQuote != null,
sent: sent,
),
),
],
Text(
text,
style: TextStyle(
color: getQuoteTextColor(context, resetQuote != null),
),
overflow: TextOverflow.ellipsis,
),
],
),
),
),
],