diff --git a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.html b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.html
index 711269a47..ec2636be2 100644
--- a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.html
+++ b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.html
@@ -4,8 +4,11 @@
- Accelerated to |
-
+ | Accelerated to |
+
+
+ |
+
@if (accelerationInfo?.acceleratedFeeRate && (!tx.effectiveFeePerVsize || accelerationInfo.acceleratedFeeRate >= tx.effectiveFeePerVsize)) {
@@ -14,7 +17,7 @@
}
|
-
+ |
|
diff --git a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.scss b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.scss
index 12849dc65..e9cbb9a6a 100644
--- a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.scss
+++ b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.scss
@@ -16,6 +16,9 @@
width: auto;
min-width: auto;
}
+ &.mobile {
+ width: 100%;
+ }
}
.field-value {
@@ -23,6 +26,10 @@
width: 100%;
}
+ &.mobile {
+ width: auto;
+ }
+
.hashrate-label {
@media (max-width: 420px) {
display: none;
diff --git a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.ts b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.ts
index 2d94cad50..4b6bb116b 100644
--- a/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.ts
+++ b/frontend/src/app/components/acceleration/active-acceleration-box/active-acceleration-box.component.ts
@@ -128,4 +128,8 @@ export class ActiveAccelerationBox implements OnChanges {
}
this.chartInstance = ec;
}
+
+ isMobile() {
+ return window.innerWidth <= 767.98;
+ }
}
\ No newline at end of file