Merge pull request #3571 from mempool/nymkappa/tx-overflow
Fix transaction amount overflow
This commit is contained in:
commit
897cd7edeb
@ -81,7 +81,7 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-right nowrap amount">
|
||||
<td class="text-right nowrap amount" [class]="{large: vin?.prevout?.value > 1000000000}">
|
||||
<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>
|
||||
@ -222,7 +222,7 @@
|
||||
</ng-template>
|
||||
</ng-template>
|
||||
</td>
|
||||
<td class="text-right nowrap amount">
|
||||
<td class="text-right nowrap amount" [class]="{large: vout?.value > 1000000000}">
|
||||
<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…
x
Reference in New Issue
Block a user