mirror of https://github.com/snachodog/mybuddy.git
🚸 scrolls if too many selectable children in forms
May be particularly useful on a phone
This commit is contained in:
parent
ac664cb511
commit
d8aa3acf91
|
@ -5,7 +5,7 @@
|
||||||
{{ field.label }}
|
{{ field.label }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</label>
|
</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10 overflow-auto">
|
||||||
{% if field|field_type == "booleanfield" %}
|
{% if field|field_type == "booleanfield" %}
|
||||||
<div class="btn-group-toggle" data-toggle="buttons">
|
<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 %}">
|
<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 %}
|
{% if field.errors %}
|
||||||
<div class="invalid-feedback">{% for error in field.errors %}{{ error }}{% endfor %}</div>
|
<div class="invalid-feedback">{% for error in field.errors %}{{ error }}{% endfor %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue