Fix: Unallocated gets unreadable if negative

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-02-02 22:30:19 +01:00
parent 581ab042fc
commit 91d2447728
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -10,7 +10,7 @@
</div> </div>
<div class="col d-flex align-items-center justify-content-center"> <div class="col d-flex align-items-center justify-content-center">
<div :class="unallocatedMoneyClass"> <div :class="unallocatedMoneyClass">
<span :class="classFromNumber(unallocatedMoney, ['fs-4'])">{{ formatNumber(unallocatedMoney) }} </span> <span class="fs-4">{{ formatNumber(unallocatedMoney) }} </span>
<span class="small">Unallocated</span> <span class="small">Unallocated</span>
</div> </div>
</div> </div>