mempool/frontend/src/app/components/change/change.component.html

4 lines
137 B
HTML
Raw Normal View History

<span [style]="change >= 0 ? 'color: #42B747' : 'color: #B74242'">
{{ change >= 0 ? '+' : '' }}{{ change | amountShortener }}%
</span>