Skip to content

Commit

Permalink
Give the rank some padding
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Feb 28, 2025
1 parent f6e4e11 commit a689d60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions webapp/public/style_domjudge.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ del {
.scoreboard td.no-border, .scoreboard th.no-border {
border: none;
}
.scoreboard td.rank {
padding-left: 0.3em;
padding-right: 0.3em;
}
.scoreboard td.score_cell {
min-width: 4.2em;
border-right: none;
Expand Down
2 changes: 1 addition & 1 deletion webapp/templates/partials/scoreboard_table.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
{% endif %}
</td>
{% endif %}
<td class="scorepl">
<td class="scorepl rank">
{# Only print rank when score is different from the previous team #}
{% if not displayRank %}
?
Expand Down

0 comments on commit a689d60

Please sign in to comment.