From 31d2983f94f2c474088c70a70e646382090688dc Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Tue, 6 Jul 2021 02:00:54 -0300 Subject: [PATCH 1/2] Fix truncation --- src/TokenTransferItem.tsx | 60 +++++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/src/TokenTransferItem.tsx b/src/TokenTransferItem.tsx index 64351ee..64a42f6 100644 --- a/src/TokenTransferItem.tsx +++ b/src/TokenTransferItem.tsx @@ -20,32 +20,42 @@ const TokenTransferItem: React.FC = ({ - From - - To - - For - - - - - {tokenMetas[t.token] ? ( - <> -
- -
- +
+ From + +
+
+ To + +
+
+ For + + - - ) : ( - - )} - + + + {tokenMetas[t.token] ? ( + <> +
+ +
+ + + ) : ( + + )} +
+
+ ); From 0d01cbef1d2ea8484f6b746d79bc7d0f7f437012 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Tue, 6 Jul 2021 02:04:46 -0300 Subject: [PATCH 2/2] Fix title fallback --- src/components/AddressLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddressLink.tsx b/src/components/AddressLink.tsx index f70b0ab..36acac6 100644 --- a/src/components/AddressLink.tsx +++ b/src/components/AddressLink.tsx @@ -11,7 +11,7 @@ const AddressLink: React.FC = ({ address, text }) => ( className="text-link-blue hover:text-link-blue-hover font-address truncate" to={`/address/${address}`} > -

+

{text ?? address}