Fix problem table css
This commit is contained in:
parent
f7d1db4dd5
commit
7128845dcf
2 changed files with 15 additions and 2 deletions
|
@ -11,6 +11,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.pcode {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
&.pp {
|
&.pp {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
|
@ -329,3 +335,10 @@ ul.problem-list {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 800px) {
|
||||||
|
#problem-table {
|
||||||
|
.pcode {
|
||||||
|
min-width: 7em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<a href="{{ sort_links.ac_rate }}">{{ _('AC %%') }}{{ sort_order.ac_rate }}</a>
|
<a href="{{ sort_links.ac_rate }}">{{ _('AC %%') }}{{ sort_order.ac_rate }}</a>
|
||||||
</th>
|
</th>
|
||||||
<th class="users">
|
<th class="users">
|
||||||
<a href="{{ sort_links.user_count }}">{{ _('Users') }}{{ sort_order.user_count }}</a>
|
<a href="{{ sort_links.user_count }}">{{ _('AC #') }}{{ sort_order.user_count }}</a>
|
||||||
</th>
|
</th>
|
||||||
{% if show_editorial %}
|
{% if show_editorial %}
|
||||||
<th class="editorial">
|
<th class="editorial">
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td class="p">{{ problem.points|floatformat }}{% if problem.partial %}p{% endif %}</td>
|
<td class="p">{{ problem.points|floatformat }}{% if problem.partial %}p{% endif %}</td>
|
||||||
{% if not request.in_contest_mode %}
|
{% if not request.in_contest_mode %}
|
||||||
<td class="ac-rate">{{ problem.ac_rate|floatformat(1) }}%</td>
|
<td class="ac-rate">{{ problem.ac_rate|floatformat(0) }}%</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td class="users">
|
<td class="users">
|
||||||
<a href="{{ url('ranked_submissions', problem.code) }}">
|
<a href="{{ url('ranked_submissions', problem.code) }}">
|
||||||
|
|
Loading…
Reference in a new issue