Add graph bar on wish tally list

This commit is contained in:
Made Baruna 2021-12-28 17:16:26 +07:00
parent b792a204fa
commit fbb83ed4ba
No known key found for this signature in database
GPG key ID: 5AA5DA16AA5DCEAD

View file

@ -549,6 +549,14 @@
{numberFormat.format((item.count / legendary.total) * 100)}
</td>
</tr>
<tr>
<td colspan="4">
<span
class="absolute bg-legendary-from block"
style="height: 1px; margin-top: 1px; width: {(item.count / legendary.total) * 100}%;"
/>
</td>
</tr>
{/each}
</table>
</div>
@ -587,6 +595,14 @@
{numberFormat.format((item.count / rare.total) * 100)}
</td>
</tr>
<tr>
<td colspan="4">
<span
class="absolute bg-rare-from block"
style="height: 1px; margin-top: 1px; width: {(item.count / rare.total) * 100}%;"
/>
</td>
</tr>
{/each}
</table>
</div>