Skip to content

Commit

Permalink
fix: compressed fields dark mode border (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Jun 10, 2024
1 parent 8039073 commit ce6e979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/helpers/fieldset_row.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="form-row
{% if adminform.model_admin.compressed_fields %} border-b border-gray-200 -mx-3 px-3 pt-3 first:pt-0 last:border-b-0{% endif %}
{% if adminform.model_admin.compressed_fields %} border-b border-gray-200 -mx-3 px-3 pt-3 first:pt-0 dark:border-gray-800 last:border-b-0{% endif %}
{% if not line.fields|length == 1 %} flex flex-row flex-wrap gap-x-8{% endif %}
{% if not line.has_visible_field %} hidden{% endif %}
{% for field in line %}{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% endfor %}">
Expand Down

0 comments on commit ce6e979

Please sign in to comment.