From c7b36152a810f40407a7f9136c9c51c55242dfa5 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 28 Jul 2021 19:16:02 -0300 Subject: [PATCH] Burnt fees new layout --- src/transaction/Details.tsx | 2 +- src/transaction/RewardSplit.tsx | 63 +++++++++++++++++++++------------ 2 files changed, 41 insertions(+), 24 deletions(-) diff --git a/src/transaction/Details.tsx b/src/transaction/Details.tsx index 1a1cd64..d7491f8 100644 --- a/src/transaction/Details.tsx +++ b/src/transaction/Details.tsx @@ -190,7 +190,7 @@ const Details: React.FC = ({ )} -
+
Ether
diff --git a/src/transaction/RewardSplit.tsx b/src/transaction/RewardSplit.tsx index 37069fc..a9ffd85 100644 --- a/src/transaction/RewardSplit.tsx +++ b/src/transaction/RewardSplit.tsx @@ -1,6 +1,10 @@ import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faBurn, faCoins } from "@fortawesome/free-solid-svg-icons"; +import { + faAngleRight, + faBurn, + faCoins, +} from "@fortawesome/free-solid-svg-icons"; import FormattedBalance from "../components/FormattedBalance"; import { TransactionData } from "../types"; @@ -16,37 +20,50 @@ const RewardSplit: React.FC = ({ txData }) => { 100; return ( -
- - - - - - - - {" "} - Ether - - - - - - - - Ether - - -
+
+
-
+
{burntPerc}%
+
+ + + + + + + + + + + {" "} + Ether + + +
+
+ + + + + + + + + Ether + + +
); };