Skip to content

Commit

Permalink
fix(ui): Gracefully truncate long transaction names in mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotcourant committed Nov 6, 2022
1 parent beb903e commit b2ab185
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export default function TransactionItemMobile(props: Props): JSX.Element {
</ListItemAvatar>
<ListItemText
className="flex-initial w-7/12"
primaryTypographyProps={{
className: "text-ellipsis overflow-hidden truncate"
}}
primary={ props.transaction.getName() }
secondaryTypographyProps={{
className: "text-ellipsis overflow-hidden truncate"
Expand Down

0 comments on commit b2ab185

Please sign in to comment.