#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
--------------------------+---------------------------------------------
Reporter: Antoliny | Type: Bug
Status: new | Component: contrib.admindocs
Version: 5.2 | Severity: Normal
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
--------------------------+---------------------------------------------
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.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36554>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.