mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
[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:
@@ -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(
|
||||
|
||||
6
upcoming-release-notes/5634.md
Normal file
6
upcoming-release-notes/5634.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [milanalexandre]
|
||||
---
|
||||
|
||||
Adjust the size of the SplitTransactionError modal dynamically
|
||||
Reference in New Issue
Block a user