Skip to content

Commit 5af868e

Browse files
authored
fix: sections colspan for rows with actions (#1191)
1 parent eef631a commit 5af868e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unfold/templates/admin/change_list_results.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100

101101
{% if cl.model_admin.list_sections|length > 0 %}
102102
<tr class="block mb-3 lg:table-row" x-show="rowOpen">
103-
<td colspan="{{ result|length|add:1 }}" class="border bg-base-200/10 block border-base-200 relative rounded p-3 lg:shadow-inner lg:border-0 lg:border-t lg:rounded-none lg:table-cell dark:border-base-800">
103+
<td colspan="{{ result|length|add:2 }}" class="border bg-base-200/10 block border-base-200 relative rounded p-3 lg:shadow-inner lg:border-0 lg:border-t lg:rounded-none lg:table-cell dark:border-base-800">
104104
<div class="absolute bg-primary-600 h-full hidden left-0 top-0 w-0.5 lg:block"></div>
105105

106106
<div class="grid gap-3 {{ cl.model_admin.list_sections_classes }}">

0 commit comments

Comments
 (0)