From 461c49abec044751850c32861aa2cc5ca5e50063 Mon Sep 17 00:00:00 2001 From: iamacook Date: Mon, 3 Jan 2022 14:05:30 +0100 Subject: [PATCH] fix: Truncate long token name --- .../components/Transactions/TxList/TokenTransferAmount.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/safe/components/Transactions/TxList/TokenTransferAmount.tsx b/src/routes/safe/components/Transactions/TxList/TokenTransferAmount.tsx index 3afe55c023..7f01817382 100644 --- a/src/routes/safe/components/Transactions/TxList/TokenTransferAmount.tsx +++ b/src/routes/safe/components/Transactions/TxList/TokenTransferAmount.tsx @@ -11,6 +11,10 @@ import { TokenTransferAsset } from './hooks/useAssetInfo' const Amount = styled(Text)` margin-left: 10px; line-height: 16px; + max-width: 200px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; ` const AmountWrapper = styled.div`