[fix] Adjust modal styles and text wrapping in TransactionError (#5634)

* adaptive size of the modal

* add relese note

---------

Co-authored-by: Alex <Alex>
This commit is contained in:
milanalexandre
2025-08-27 19:24:31 +02:00
committed by GitHub
parent 57240284a3
commit 23f1bae7db
2 changed files with 13 additions and 2 deletions

View File

@@ -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"
>
<Text>
<Text style={{ whiteSpace: 'nowrap' }}>
<Trans>Amount left:</Trans>{' '}
<Text style={{ fontWeight: 500 }}>
{integerToCurrency(

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [milanalexandre]
---
Adjust the size of the SplitTransactionError modal dynamically