Skip to content

Commit

Permalink
fix: disable readonly url nowrap (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Jul 16, 2024
1 parent 21df958 commit 3adce00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_admin_url(self, remote_field, remote_obj):
current_app=self.model_admin.admin_site.name,
)
return format_html(
'<a href="{}" class="text-primary-600 underline whitespace-nowrap dark:text-primary-500">{}</a>',
'<a href="{}" class="text-primary-600 underline dark:text-primary-500">{}</a>',
url,
remote_obj,
)
Expand Down

0 comments on commit 3adce00

Please sign in to comment.