Display asset circulating amount more nicely fixing overflow
fixes #1264
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
<ng-container *ngIf="(circulatingAmount$ | async) as circulating">
|
||||
{{ circulating.amount }} <span class="ticker">{{ circulating.ticker }}</span>
|
||||
<ng-template [ngIf]="circulating.amount === -1" [ngIfElse]="default" i18n="shared.confidential">Confidential</ng-template>
|
||||
<ng-template #default>
|
||||
<span class="d-inline-block d-md-none">{{ circulating.amount | amountShortener }}</span>
|
||||
<span class="d-none d-md-inline-block">{{ circulating.amount | number: '1.2-2' }}</span> <span class="ticker">{{ circulating.ticker }}</span></ng-template>
|
||||
</ng-container>
|
||||
Reference in New Issue
Block a user