From 23f1bae7db84b111e6c3a69520d3a74e2d529011 Mon Sep 17 00:00:00 2001 From: milanalexandre <49125306+milanalexandre@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:24:31 +0200 Subject: [PATCH] [fix] Adjust modal styles and text wrapping in TransactionError (#5634) * adaptive size of the modal * add relese note --------- Co-authored-by: Alex --- .../src/components/transactions/TransactionsTable.tsx | 9 +++++++-- upcoming-release-notes/5634.md | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 upcoming-release-notes/5634.md diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.tsx b/packages/desktop-client/src/components/transactions/TransactionsTable.tsx index 54ecce6bc7..53c8f82540 100644 --- a/packages/desktop-client/src/components/transactions/TransactionsTable.tsx +++ b/packages/desktop-client/src/components/transactions/TransactionsTable.tsx @@ -1184,7 +1184,12 @@ const Transaction = memo(function Transaction({ triggerRef={triggerRef} isOpen isNonModal - style={{ width: 375, padding: 5, maxHeight: '38px !important' }} + style={{ + maxWidth: 500, + minWidth: 375, + padding: 5, + maxHeight: '38px !important', + }} shouldFlip={false} placement="bottom end" UNSTABLE_portalContainer={listContainerRef.current} @@ -1703,7 +1708,7 @@ function TransactionError({ }} data-testid="transaction-error" > - + Amount left:{' '} {integerToCurrency( diff --git a/upcoming-release-notes/5634.md b/upcoming-release-notes/5634.md new file mode 100644 index 0000000000..7d9b038cb6 --- /dev/null +++ b/upcoming-release-notes/5634.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [milanalexandre] +--- + +Adjust the size of the SplitTransactionError modal dynamically