From ae5a0312be37168e00f09b1e500640ec3c0c308c Mon Sep 17 00:00:00 2001 From: Mononaut Date: Mon, 12 Jun 2023 12:40:19 -0400 Subject: [PATCH] change audit detail labels --- .../src/app/components/block/block.component.html | 12 ++++++------ .../src/app/components/block/block.component.scss | 7 +++++++ .../blocks-list/blocks-list.component.html | 9 ++++++--- .../blocks-list/blocks-list.component.scss | 1 + 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/components/block/block.component.html b/frontend/src/app/components/block/block.component.html index e3f4d195c..7d2652829 100644 --- a/frontend/src/app/components/block/block.component.html +++ b/frontend/src/app/components/block/block.component.html @@ -395,17 +395,17 @@ - + - + - + @@ -416,7 +416,7 @@
Expected feesTotal fees
Expected weightWeight
Expected transactionsTransactions {{ blockAudit.template?.length || 0 }}
- + - + - + - + @@ -67,9 +67,9 @@ - + diff --git a/frontend/src/app/components/blocks-list/blocks-list.component.scss b/frontend/src/app/components/blocks-list/blocks-list.component.scss index 39d6b55b0..3d3169a69 100644 --- a/frontend/src/app/components/blocks-list/blocks-list.component.scss +++ b/frontend/src/app/components/blocks-list/blocks-list.component.scss @@ -173,6 +173,7 @@ tr, td, th { } .fee-delta { width: 6%; + padding-left: 0; @media (max-width: 991px) { display: none; }
Actual feesTotal fees @@ -425,7 +425,7 @@
Actual weightWeight @@ -434,7 +434,7 @@
Actual transactionsTransactions {{ block.tx_count }} diff --git a/frontend/src/app/components/block/block.component.scss b/frontend/src/app/components/block/block.component.scss index 48f094926..08091cb86 100644 --- a/frontend/src/app/components/block/block.component.scss +++ b/frontend/src/app/components/block/block.component.scss @@ -263,3 +263,10 @@ h1 { top: 11px; margin-left: 10px; } + +.audit-details-table { + margin-top: 1.25rem; + @media (max-width: 767.98px) { + margin-top: 0.75rem; + } +} diff --git a/frontend/src/app/components/blocks-list/blocks-list.component.html b/frontend/src/app/components/blocks-list/blocks-list.component.html index 727ca2782..5197ce3b4 100644 --- a/frontend/src/app/components/blocks-list/blocks-list.component.html +++ b/frontend/src/app/components/blocks-list/blocks-list.component.html @@ -18,7 +18,7 @@ Reward Feesvs Expected TXs Transactions + - {{ block.extras.feeDelta > 0 ? '+' : '' }}{{ (block.extras.feeDelta * 100) | amountShortener: 2 }}% + ({{ block.extras.feeDelta > 0 ? '+' : '' }}{{ (block.extras.feeDelta * 100) | amountShortener: 2 }}%) @@ -108,6 +108,9 @@ + +