mirror of
https://github.com/mempool/mempool.git
synced 2025-10-11 01:03:02 +02:00
Fix confirmations button positioning.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="title float-left">
|
<div class="title">
|
||||||
<h1 i18n="shared.transaction">Transaction</h1>
|
<h1 i18n="shared.transaction">Transaction</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<app-clipboard [text]="txId"></app-clipboard>
|
<app-clipboard [text]="txId"></app-clipboard>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container-buttons float-right">
|
<div class="container-buttons">
|
||||||
<ng-template [ngIf]="tx?.status?.confirmed">
|
<ng-template [ngIf]="tx?.status?.confirmed">
|
||||||
<button *ngIf="latestBlock" type="button" class="btn btn-sm btn-success">
|
<button *ngIf="latestBlock" type="button" class="btn btn-sm btn-success">
|
||||||
<ng-container *ngTemplateOutlet="latestBlock.height - tx.status.block_height + 1 == 1 ? confirmationSingular : confirmationPlural; context: {$implicit: latestBlock.height - tx.status.block_height + 1}"></ng-container>
|
<ng-container *ngTemplateOutlet="latestBlock.height - tx.status.block_height + 1 == 1 ? confirmationSingular : confirmationPlural; context: {$implicit: latestBlock.height - tx.status.block_height + 1}"></ng-container>
|
||||||
|
Reference in New Issue
Block a user