#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Antoliny:
Old description:
> In TabularInline, there is an issue where the text gets cut off when the
> object's __str__ is long.
>
> [[Image(Screenshot 2025-08-15 at 11.56.30 AM.png)]]
>
> The above image is fine because the screen is wide, but on a mobile
> screen, the text gets cut off as shown below.
>
> [[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]
>
> Recently, the font size of `TabularInline` was made the same as
> `StackedInline`
> https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
> resulting in a larger font than before.
>
> As a result, the likelihood of this issue occurring has increased, and as
> seen in the above image, links rendered via show_change_link are also cut
> off, preventing the use of the features provided by default.
New description:
In TabularInline, there is an issue where the text gets cut off when the
object's __str__ is long.
[[Image(tabular_object_str.png)]]
The above image is fine because the screen is wide, but on a mobile
screen, the text gets cut off as shown below.
[[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]
Recently, the font size of `TabularInline` was made the same as
`StackedInline`
https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
resulting in a larger font than before.
As a result, the likelihood of this issue occurring has increased, and as
seen in the above image, links rendered via show_change_link are also cut
off, preventing the use of the features provided by default.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/36554#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198abb17856-d0ebfc16-f9b8-45dc-b330-81e2f6417a8e-000000%40eu-central-1.amazonses.com.