Small UI improvement
This commit is contained in:
parent
8f046c59c1
commit
9a825225dd
2 changed files with 3 additions and 3 deletions
|
@ -533,7 +533,7 @@ class ContestProblemForm(ModelForm):
|
|||
)
|
||||
widgets = {
|
||||
"problem": HeavySelect2Widget(
|
||||
data_view="problem_select2", attrs={"style": "width:100%"}
|
||||
data_view="problem_select2", attrs={"style": "width: 100%"}
|
||||
),
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
display: inline-flex;
|
||||
}
|
||||
.problems-problem {
|
||||
width: 40%;
|
||||
max-width: 60vh;
|
||||
}
|
||||
input[type=number] {
|
||||
width: 5em;
|
||||
|
@ -63,7 +63,7 @@
|
|||
<tr>
|
||||
{% for field in problems_form[0] %}
|
||||
{% if not field.is_hidden %}
|
||||
<th>
|
||||
<th class="problems-{{field.name}}">
|
||||
{{field.label}}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue