From f3213b3c6939eaf66ff5472b29a29e01a6ea5338 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 14 Jul 2021 15:35:53 -0300 Subject: [PATCH] Fix spacing and alignment due to addresss highlight feature --- src/TokenTransferItem.tsx | 8 ++-- src/Transaction.tsx | 4 +- src/components/InternalTransfer.tsx | 64 +++++++++++++++-------------- src/search/ResultHeader.tsx | 4 +- 4 files changed, 42 insertions(+), 38 deletions(-) diff --git a/src/TokenTransferItem.tsx b/src/TokenTransferItem.tsx index b341f0d..4b1fc62 100644 --- a/src/TokenTransferItem.tsx +++ b/src/TokenTransferItem.tsx @@ -21,20 +21,20 @@ const TokenTransferItem: React.FC = ({ -
-
+
+
From
-
+
To
-
+
For { -
+
{
-
+
= ({ TRANSFER {ethers.utils.formatEther(transfer.value)} Ether - From - -
- {fromMiner && ( - - - - )} - -
-
- To - -
- {toMiner && ( - - - - )} - -
-
+
+ From + +
+ {fromMiner && ( + + + + )} + +
+
+
+
+ To + +
+ {toMiner && ( + + + + )} + +
+
+
); }; diff --git a/src/search/ResultHeader.tsx b/src/search/ResultHeader.tsx index 0b63c90..13880bd 100644 --- a/src/search/ResultHeader.tsx +++ b/src/search/ResultHeader.tsx @@ -15,8 +15,8 @@ const ResultHeader: React.FC = ({
Method
Block
Age
-
From
-
To
+
From
+
To
Value