forked from MarseyWorld/MarseyWorld
fix
parent
2c45cb7cc2
commit
87b17f4d55
|
@ -58,7 +58,7 @@
|
|||
{% for user in users1 %}
|
||||
<div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users1.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
|
||||
<!-- Rank -->
|
||||
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
|
||||
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}">
|
||||
{{users1.index(user)+1}}
|
||||
</h2>
|
||||
<div class="relative">
|
||||
|
@ -97,7 +97,7 @@
|
|||
{% for user in users2 %}
|
||||
<div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users2.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
|
||||
<!-- Rank -->
|
||||
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
|
||||
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}">
|
||||
{{users2.index(user)+1}}
|
||||
</h2>
|
||||
<div class="relative">
|
||||
|
|
Loading…
Reference in New Issue