From da613ab6738f8a4c0a0f62dedc6fef87a29e4f28 Mon Sep 17 00:00:00 2001 From: Matt Fiddaman Date: Mon, 30 Dec 2024 20:39:47 +0000 Subject: [PATCH] Fix payee cell overflowing when it contains an icon (#4056) --- .../transactions/TransactionsTable.jsx | 20 +++++++++---------- upcoming-release-notes/4056.md | 6 ++++++ 2 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 upcoming-release-notes/4056.md diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx index 69afdb478f0..f6b247902d0 100644 --- a/packages/desktop-client/src/components/transactions/TransactionsTable.jsx +++ b/packages/desktop-client/src/components/transactions/TransactionsTable.jsx @@ -358,14 +358,7 @@ function getPayeePretty(transaction, payee, transferAcct, numHiddenPayees = 0) { alignItems: 'center', }} > -
- {formatPayeeName(transferAcct.name)} -
+ {formatPayeeName(transferAcct.name)} ); } else if (payee) { @@ -706,7 +699,14 @@ function PayeeCell({ ); return ( - <> +
+
); }} > diff --git a/upcoming-release-notes/4056.md b/upcoming-release-notes/4056.md new file mode 100644 index 00000000000..c65153eb069 --- /dev/null +++ b/upcoming-release-notes/4056.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [matt-fidd] +--- + +Fix payee cell overflowing when it contains an icon