0.0.40 remove overflow from.input_list.show

This commit is contained in:
2023-07-25 14:42:40 +03:00
parent 6a8a0d2abb
commit 6ddc4085d3
2 changed files with 8 additions and 2 deletions

View File

@@ -943,6 +943,8 @@ form.new_route{
/*end create new route*/
/*Range slider*/
@@ -1007,8 +1009,12 @@ form.new_route{
display:block;
width: 50%;
height: 200px;
overflow: scroll;
}
.input_list show.hide{
display: none;
}
select#id_cargo_type{
height: 120px;
}

View File

@@ -99,7 +99,7 @@
<label for="id_cargo_type">{{ form.fields.cargo_type.label }}</label>
</div>
<div>
<select multiple name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
<select multiple size="5" name="cargo_type" id="id_cargo_type" {% if form.fields.cargo_type.required %} required{% endif %}>
{% for item in form.fields.cargo_type.choices %}
<option value="{{ item.0 }}"{% if form.fields.cargo_type.initial == item.0 %} selected="selected"{% endif %}>{{ item.1 }}</option>
{% endfor %}