Revert "Add accelerated word to timeline"

This commit is contained in:
softsimon 2024-07-12 18:58:02 +09:00 committed by GitHub
parent c748e5cda9
commit 76e3053207
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 10 deletions

View file

@ -96,9 +96,11 @@
<div> <div>
<app-fee-rate [fee]="tx.effectiveFeePerVsize" [unitStyle]="{ display: 'block', marginTop: '-0.5em'}"></app-fee-rate> <app-fee-rate [fee]="tx.effectiveFeePerVsize" [unitStyle]="{ display: 'block', marginTop: '-0.5em'}"></app-fee-rate>
</div> </div>
<div class="time accelerating"> @if (now - acceleratedAt > 60) {
<span i18n="transaction.audit.accelerated">Accelerated</span>&nbsp;<app-time *ngIf="acceleratedAt" kind="since" [time]="acceleratedAt"></app-time> <div class="time" style="margin-top: -164px; font-style: italic;">
</div> <app-time *ngIf="acceleratedAt" kind="since" [time]="acceleratedAt"></app-time>
</div>
}
} @else { } @else {
<div style="margin-top: 36px;"> <div style="margin-top: 36px;">
<span class="skeleton-loader" style="max-width: 50px"></span> <span class="skeleton-loader" style="max-width: 50px"></span>

View file

@ -228,13 +228,6 @@
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
white-space: nowrap; white-space: nowrap;
&.accelerating {
margin-top: -164px;
font-style: italic;
@media (max-width: 768px) {
margin-left: -50px;
}
}
} }
} }
} }