Skip to content

Commit a689d60

Browse files
Give the rank some padding
1 parent f6e4e11 commit a689d60

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

webapp/public/style_domjudge.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ del {
198198
.scoreboard td.no-border, .scoreboard th.no-border {
199199
border: none;
200200
}
201+
.scoreboard td.rank {
202+
padding-left: 0.3em;
203+
padding-right: 0.3em;
204+
}
201205
.scoreboard td.score_cell {
202206
min-width: 4.2em;
203207
border-right: none;

webapp/templates/partials/scoreboard_table.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
{% endif %}
146146
</td>
147147
{% endif %}
148-
<td class="scorepl">
148+
<td class="scorepl rank">
149149
{# Only print rank when score is different from the previous team #}
150150
{% if not displayRank %}
151151
?

0 commit comments

Comments
 (0)