Skip to content

Commit 1494b95

Browse files
fix: remove horizontal padding for horizontal filter options
1 parent 14e222a commit 1494b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unfold/templates/admin/filter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h3 class="font-semibold mb-2 text-font-important-light dark:text-font-important
1515
<ul class="dark:bg-base-900 border border-base-200 flex min-w-20 rounded shadow-sm text-font-default-light dark:border-base-700 dark:text-font-default-dark w-full">
1616
{% for choice in choices %}
1717
<li class="basis-1/3 border-r border-base-200 flex-grow truncate last:border-r-0 dark:border-base-700 {% if choice.selected %}font-semibold text-primary-600 dark:text-primary-500 {% else %}hover:text-base-700 dark:hover:text-base-200{% endif %}">
18-
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}" class="block px-3 py-2 text-center hover:text-primary-600 dark:hover:text-primary-500">
18+
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}" class="block py-2 text-center hover:text-primary-600 dark:hover:text-primary-500">
1919
{{ choice.display }}
2020
</a>
2121
</li>

0 commit comments

Comments
 (0)