Skip to content

Commit

Permalink
fix: filter x padding
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Nov 26, 2022
1 parent 6043f45 commit 5599788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unfold/templates/admin/change_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

<div class="bg-white flex mr-4 my-4 overflow-hidden rounded shadow-sm w-96 dark:bg-gray-800">
<div class="flex-grow h-full overflow-auto relative" data-simplebar>
<h3 class="border-b flex font-medium mb-6 px-8 py-4 text-gray-700 text-sm dark:text-gray-200 dark:border-gray-700">
<h3 class="border-b flex font-medium mb-6 px-6 py-4 text-gray-700 text-sm dark:text-gray-200 dark:border-gray-700">
{% trans "Filter results" %}

{% if cl.has_active_filters %}
Expand All @@ -132,7 +132,7 @@ <h3 class="border-b flex font-medium mb-6 px-8 py-4 text-gray-700 text-sm dark:t
</label>
</h3>

<div class="px-8{% if cl.model_admin.list_filter_submit %} pb-16{% endif %}">
<div class="px-6{% if cl.model_admin.list_filter_submit %} pb-16{% endif %}">
{% if cl.model_admin.list_filter_submit %}
<form method="get">

Expand All @@ -149,7 +149,7 @@ <h3 class="border-b flex font-medium mb-6 px-8 py-4 text-gray-700 text-sm dark:t
{% endfor %}

{% if cl.model_admin.list_filter_submit %}
<div class="bg-gray-50 bg-white border-gray-200 border-t bottom-4 fixed px-8 py-3 right-4 rounded-b w-96 dark:bg-gray-700 dark:border-gray-600">
<div class="bg-gray-50 bg-white border-gray-200 border-t bottom-4 fixed px-6 py-3 right-4 rounded-b w-96 dark:bg-gray-700 dark:border-gray-600">
<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">
{% trans "Apply Filters" %}
</button>
Expand Down

0 comments on commit 5599788

Please sign in to comment.