hotfix for too long pseudos breaking top10 css

This commit is contained in:
Danhia 2022-01-24 21:11:30 +01:00
parent 314a7e17b4
commit 0c08fdda96
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
<li class="list-group-item">Top 10</li> <li class="list-group-item">Top 10</li>
{% for t in top %} {% for t in top %}
{% ismember t.user.userprofileinfo as is_member %} {% ismember t.user.userprofileinfo as is_member %}
<li class="list-group-item"># {{ forloop.counter }} <li class="list-group-item text-truncate"># {{ forloop.counter }}
<a class="profile_link {{is_member}}" href="{% url 'accounts:profile' user_name=t.user.username %}"> {{ t.user.username }}</a> <a class="profile_link {{is_member}}" href="{% url 'accounts:profile' user_name=t.user.username %}"> {{ t.user.username }}</a>
<span style="position:absolute;right: 15px;">{{ t.score }}</span></li> <span style="position:absolute;right: 15px;">{{ t.score }}</span></li>
{% endfor %} {% endfor %}