mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
Fix payee cell overflowing when it contains an icon (#4056)
This commit is contained in:
@@ -358,14 +358,7 @@ function getPayeePretty(transaction, payee, transferAcct, numHiddenPayees = 0) {
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
}}
|
||||
>
|
||||
{formatPayeeName(transferAcct.name)}
|
||||
</div>
|
||||
{formatPayeeName(transferAcct.name)}
|
||||
</View>
|
||||
);
|
||||
} else if (payee) {
|
||||
@@ -706,7 +699,14 @@ function PayeeCell({
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
style={{
|
||||
overflow: 'hidden',
|
||||
textOverflow: 'ellipsis',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
<PayeeIcons
|
||||
transaction={transaction}
|
||||
transferAccount={transferAccount}
|
||||
@@ -732,7 +732,7 @@ function PayeeCell({
|
||||
) : (
|
||||
payeeName
|
||||
)}
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
||||
6
upcoming-release-notes/4056.md
Normal file
6
upcoming-release-notes/4056.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [matt-fidd]
|
||||
---
|
||||
|
||||
Fix payee cell overflowing when it contains an icon
|
||||
Reference in New Issue
Block a user