🚸 scrolls if too many selectable children in forms

May be particularly useful on a phone
This commit is contained in:
Jean-Louis Jouannic 2022-07-07 11:42:36 +02:00 committed by Christopher Charbonneau Wells
parent ac664cb511
commit d8aa3acf91
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
{{ field.label }}
{% endif %}
</label>
<div class="col-sm-10">
<div class="col-sm-10 overflow-auto">
{% if field|field_type == "booleanfield" %}
<div class="btn-group-toggle" data-toggle="buttons">
<label for="id_{{ field.name }}" class="btn btn-outline-light btn-no-hover{% if field.value %} active{% endif %}">
@ -47,4 +47,4 @@
{% if field.errors %}
<div class="invalid-feedback">{% for error in field.errors %}{{ error }}{% endfor %}</div>
{% endif %}
</div>
</div>