Skip to content

Commit c7dbd1c

Browse files
authored
fix: app list truncate (#644)
1 parent bdc58f7 commit c7dbd1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/unfold/templates/admin/app_list.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ <h3 class="font-medium my-3 text-gray-900 text-sm dark:text-gray-200">
2727

2828
{% if model.admin_url %}
2929
<a href="{{ model.admin_url }}" id="link-{{ app.app_label }}-{{ model.object_name|lower }}"
30-
class="flex h-11 items-center -mx-3 px-3 py-2 rounded-md truncate {% if model.admin_url in request.path|urlencode %}bg-gray-100 font-semibold text-primary-600 dark:bg-white/[.06] dark:text-primary-500{% else %} hover:text-gray-700 dark:hover:text-gray-200{% endif %}">
31-
<span class="text-sm">
30+
class="block -mx-3 px-3 py-3 rounded-md truncate {% if model.admin_url in request.path|urlencode %}bg-gray-100 font-semibold text-primary-600 dark:bg-white/[.06] dark:text-primary-500{% else %} hover:text-gray-700 dark:hover:text-gray-200{% endif %}">
3231
{{ model.name }}
33-
</span>
3432
</a>
3533
{% else %}
3634
{{ model.name }}

0 commit comments

Comments
 (0)