mirror of
https://github.com/mempool/mempool.git
synced 2025-02-27 08:10:05 +01:00
Fix transaction amount overflow
This commit is contained in:
parent
5977251a20
commit
3db1486bfb
2 changed files with 12 additions and 3 deletions
|
@ -77,7 +77,7 @@
|
|||
</ng-container>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right nowrap amount">
|
||||
<td class="text-right nowrap amount" [class]="{large: vin?.prevout?.value > 1000000}">
|
||||
<ng-template [ngIf]="vin.prevout && vin.prevout.asset && vin.prevout.asset !== nativeAssetId" [ngIfElse]="defaultOutput">
|
||||
<div *ngIf="assetsMinimal && assetsMinimal[vin.prevout.asset] else assetVinNotFound">
|
||||
<ng-container *ngTemplateOutlet="assetBox; context:{ $implicit: vin.prevout }"></ng-container>
|
||||
|
@ -206,7 +206,7 @@
|
|||
</ng-template>
|
||||
</ng-template>
|
||||
</td>
|
||||
<td class="text-right nowrap amount">
|
||||
<td class="text-right nowrap amount" [class]="{large: vout?.value > 1000000}">
|
||||
<ng-template [ngIf]="vout.asset && vout.asset !== nativeAssetId" [ngIfElse]="defaultOutput">
|
||||
<div *ngIf="assetsMinimal && assetsMinimal[vout.asset] else assetNotFound">
|
||||
<ng-container *ngTemplateOutlet="assetBox; context:{ $implicit: vout }"></ng-container>
|
||||
|
|
|
@ -46,7 +46,16 @@
|
|||
}
|
||||
|
||||
td.amount {
|
||||
width: 32.5%;
|
||||
width: 36%;
|
||||
@media (max-width: 576px) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
td.amount.large {
|
||||
width: 45%;
|
||||
@media (max-width: 576px) {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
.extra-info {
|
||||
|
|
Loading…
Add table
Reference in a new issue