Skip to content

Commit

Permalink
Fieldset uses col-9 not col-7
Browse files Browse the repository at this point in the history
Otherwise the full width is not used, producing a cramped layout.
  • Loading branch information
longhotsummer authored Nov 13, 2024
1 parent ba7758c commit 4f14b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jazzmin/templates/admin/includes/fieldset.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<span class="text-red">* </span>
{% endif %}
</label>
<div class="{% if not line.fields|length == 1 %} col-auto fieldBox {% else %} col-sm-7 {% endif %}
<div class="{% if not line.fields|length == 1 %} col-auto fieldBox {% else %} col-sm-9 {% endif %}
{% if field.field.name %} field-{{ field.field.name }}{% endif %}
{% if not field.is_readonly and field.errors %} errors{% endif %}
{% if field.field.is_hidden %} hidden {% endif %}
Expand Down

0 comments on commit 4f14b71

Please sign in to comment.