Better problem if value in DonationBar is greater than target, but not solved

This commit is contained in:
Wolfgang Huß 2025-12-15 15:38:03 +01:00
parent be13f23464
commit 3212a2d41d

View File

@ -6,7 +6,7 @@
</a>
</h3>
<div class="donation-bar">
<div class="donation-bar-value" :style="{ width: (currentValue / target) * 100 + '%' }">
<div class="donation-bar-value" :style="{ width: ((currentValue <= target ? currentValue : target) / target) * 100 + '%' }">
{{ currentValueStr }}
</div>
</div>