Skip to content

Commit 4b43714

Browse files
authored
fix: filter button positioning (#893)
1 parent 6e9032f commit 4b43714

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/unfold/templates/unfold/change_list_filter.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ <h3 class="border-b flex font-semibold mb-4 px-4 py-4 text-font-important-light
4646
{% endfor %}
4747

4848
{% if cl.model_admin.list_filter_submit %}
49-
<div class="bottom-4 absolute left-4 right-4 {% if not cl.model_admin.list_filter_sheet %}2xl:left-0 2xl:right-0 2xl:relative 2xl:mt-8{% endif %}">
50-
<button type="submit" class="bg-primary-600 block border border-transparent font-medium px-3 py-2 rounded-md self-end text-sm text-white w-full">
51-
{% trans "Apply Filters" %}
52-
</button>
53-
</div>
49+
<button type="submit" class="bg-primary-600 block border border-transparent font-medium mb-4 mt-8 px-3 py-2 rounded-md self-end text-sm text-white w-full">
50+
{% trans "Apply Filters" %}
51+
</button>
5452
</form>
5553
{% endif %}
5654
</div>

0 commit comments

Comments
 (0)