From 6b3e84255a8cd34b090e52c46c444d58d6a16480 Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 22 Jul 2020 13:41:50 +0700 Subject: [PATCH] Display transaction fees even if they are zero. --- .../transaction/transaction.component.html | 26 +++++++++---------- .../tx-fee-rating.component.scss | 4 +++ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index 79128f8ea..bf673e261 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -63,20 +63,18 @@
- - - - - - - - - - + + + + + + + +
Fee{{ tx.fee | number }} sat ()
Fee per vByte - {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB -   - -
Fee{{ tx.fee | number }} sat ()
Fee per vByte + {{ tx.fee / (tx.weight / 4) | number : '1.1-1' }} sat/vB +   + +
diff --git a/frontend/src/app/components/tx-fee-rating/tx-fee-rating.component.scss b/frontend/src/app/components/tx-fee-rating/tx-fee-rating.component.scss index e69de29bb..603924807 100644 --- a/frontend/src/app/components/tx-fee-rating/tx-fee-rating.component.scss +++ b/frontend/src/app/components/tx-fee-rating/tx-fee-rating.component.scss @@ -0,0 +1,4 @@ +.badge { + position: relative; + top: -1px; +}