From 305b4d90b3f36a6445699490101901d8c4337178 Mon Sep 17 00:00:00 2001 From: realth000 Date: Sat, 16 Dec 2023 16:50:35 +0800 Subject: [PATCH] fix(widgets): Fix quoted message overflow in ThreadCard --- lib/widgets/thread_card.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/widgets/thread_card.dart b/lib/widgets/thread_card.dart index e5f46593..7b13fe07 100644 --- a/lib/widgets/thread_card.dart +++ b/lib/widgets/thread_card.dart @@ -124,11 +124,13 @@ class _CardLayout extends ConsumerWidget { if (quotedMessage != null) Row( children: [ - Card( - elevation: 2, - child: Padding( - padding: edgeInsetsL15T15R15B15, - child: Text(quotedMessage!), + Expanded( + child: Card( + elevation: 2, + child: Padding( + padding: edgeInsetsL15T15R15B15, + child: Text(quotedMessage!), + ), ), ), ],