Fix transaction amount overflow
This commit is contained in:
parent
5977251a20
commit
3db1486bfb
@ -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…
x
Reference in New Issue
Block a user