From 1fa1181c827348adbc562db3abb73d728bcf8bb8 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 29 May 2025 05:41:31 +0300 Subject: [PATCH] minor UI fix [skip ci] --- .../dashboard/widgets/transaction_raw.dart | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/lib/src/screens/dashboard/widgets/transaction_raw.dart b/lib/src/screens/dashboard/widgets/transaction_raw.dart index ff074e976..ed8ccd352 100644 --- a/lib/src/screens/dashboard/widgets/transaction_raw.dart +++ b/lib/src/screens/dashboard/widgets/transaction_raw.dart @@ -51,17 +51,22 @@ class TransactionRow extends StatelessWidget { Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - Row( - children: [ - Text( - title, - style: Theme.of(context).textTheme.bodyLarge?.copyWith( - fontWeight: FontWeight.w600, - ), - ), - ...tags - .map((tag) => Row(children: [SizedBox(width: 8), TxTag(tag: tag)])), - ], + Expanded( + child: Row( + children: [ + Flexible( + child: Text( + title, + style: Theme.of(context).textTheme.bodyLarge?.copyWith( + fontWeight: FontWeight.w600, + overflow: TextOverflow.fade, + ), + ), + ), + ...tags + .map((tag) => Row(children: [SizedBox(width: 8), TxTag(tag: tag)])), + ], + ), ), Text( formattedAmount,