Skip to content

Commit

Permalink
Fix payee cell overflowing when it contains an icon (#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fidd authored Dec 30, 2024
1 parent d894281 commit da613ab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -706,7 +699,14 @@ function PayeeCell({
);

return (
<>
<div
style={{
overflow: 'hidden',
textOverflow: 'ellipsis',
display: 'flex',
alignItems: 'center',
}}
>
<PayeeIcons
transaction={transaction}
transferAccount={transferAccount}
Expand All @@ -732,7 +732,7 @@ function PayeeCell({
) : (
payeeName
)}
</>
</div>
);
}}
>
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4056.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [matt-fidd]
---

Fix payee cell overflowing when it contains an icon

0 comments on commit da613ab

Please sign in to comment.