mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2026-01-20 20:01:24 +00:00
Better problem if value in DonationBar is greater than target, but not solved
This commit is contained in:
parent
be13f23464
commit
3212a2d41d
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user