Skip to content

Commit

Permalink
hard code color see if that fixes it
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanB committed Aug 14, 2024
1 parent 1fcc0e8 commit 3662901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ranked/templates/ranked/leaderboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1 style="color: white" class="display-4 fw-normal">
<td>{{ player.elo|floatformat:1 }}</td>
<td>{{ player.mmr|floatformat:1 }}</td>
{% with rank, color = mmr_to_rank player.mmr highest_mmr lowest_mmr %}
<td style="color: {{ color }}">{{ rank }}</td>
<td style="color: #ebce75">{{ rank }}</td>
{% endwith %}
<td>{{player.matches_played}}</td>
<td>{{ player.win_rate|floatformat:2 }}%</td>
Expand Down

0 comments on commit 3662901

Please sign in to comment.