🐛 sets overflow-auto class only for child selection input

This commit is contained in:
Jean-Louis Jouannic 2022-07-07 21:31:18 +02:00 committed by Christopher Charbonneau Wells
parent a453d869a3
commit e950aeb4da
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{{ field.label }} {{ field.label }}
{% endif %} {% endif %}
</label> </label>
<div class="col-sm-10 overflow-auto"> <div class="col-sm-10{% if field|widget_type == 'childradioselect' %} overflow-auto"{% endif %}">
{% 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 %}">