Add graph bar on wish tally list

pull/1/head
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
1 changed files with 16 additions and 0 deletions

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>