From 91e74e769cd29af1004ce8cd12e26d92c8497820 Mon Sep 17 00:00:00 2001 From: natsoni Date: Wed, 7 Aug 2024 14:19:59 +0200 Subject: [PATCH] Purple accelerated fee rate everywhere --- .../acceleration-timeline-tooltip.component.html | 8 ++++---- .../acceleration-timeline-tooltip.component.scss | 4 ++++ .../block-overview-tooltip.component.html | 2 +- .../block-overview-tooltip.component.scss | 3 +++ 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html index 94a8f7967..67f6cb80e 100644 --- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html +++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.html @@ -26,9 +26,9 @@ Out-of-band fees @if (accelerationInfo.status === 'accelerated') { - {{ accelerationInfo.feeDelta | number }} sat + {{ accelerationInfo.feeDelta | number }} sat } @else { - {{ accelerationInfo.bidBoost | number }} sat + {{ accelerationInfo.bidBoost | number }} sat } @@ -38,9 +38,9 @@ } @else if (accelerationInfo.status === 'accelerated' || accelerationInfo.status === 'mined') { Accelerated fee rate @if (accelerationInfo.status === 'accelerated') { - + } @else { - + } } diff --git a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss index b44318a58..98a42f0e7 100644 --- a/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss +++ b/frontend/src/app/components/acceleration-timeline/acceleration-timeline-tooltip.component.scss @@ -32,4 +32,8 @@ top: -1px; margin-right: 3px; } + + .oobFees { + color: #905cf4; + } } diff --git a/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.html b/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.html index 08de1b640..037229398 100644 --- a/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.html +++ b/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.html @@ -51,7 +51,7 @@ Effective fee rate Accelerated fee rate - + diff --git a/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.scss b/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.scss index 28708506b..0b2c05948 100644 --- a/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.scss +++ b/frontend/src/app/components/block-overview-tooltip/block-overview-tooltip.component.scss @@ -27,6 +27,9 @@ th, td { width: 70%; text-align: end; } + &.oobFees { + color: #905cf4; + } } .badge.badge-accelerated {