Fix payee cell overflowing when it contains an icon (#4056)

This commit is contained in:
Matt Fiddaman
2024-12-30 20:39:47 +00:00
committed by GitHub
parent d894281465
commit da613ab673
2 changed files with 16 additions and 10 deletions

View File

@@ -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>
);
}}
>

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---
Fix payee cell overflowing when it contains an icon