[Django] #33104: Long text strings are being cutoff when its a readonly field

4 views
Skip to first unread message

Django

unread,
Sep 11, 2021, 4:09:48 AM9/11/21
to django-...@googlegroups.com
#33104: Long text strings are being cutoff when its a readonly field
-----------------------------------------+------------------------
Reporter: Aakash Singh | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
Like this:

[[Image(https://user-images.githubusercontent.com/46787056/132940918
-72299c5d-eba1-489f-9ee5-074d0163ce7e.png)]]

but after adding {{{overflow-wrap: anywhere}}} to the {{{readonly}}}
class fixes this issue.

[[Image(https://user-images.githubusercontent.com/46787056/132940914
-a8e2e2df-08a9-41df-87d9-80cb6cfc018b.png)]]

more about overflow-wrap [https://developer.mozilla.org/en-US/docs/Web/CSS
/overflow-wrap here]

--
Ticket URL: <https://code.djangoproject.com/ticket/33104>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 11, 2021, 4:12:15 AM9/11/21
to django-...@googlegroups.com
#33104: Long text strings are being cutoff when its a readonly field
-------------------------------+--------------------------------------
Reporter: sainAk | Owner: nobody

Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------

Comment (by sainAk):

The PR for this fix: https://github.com/django/django/pull/14853

--
Ticket URL: <https://code.djangoproject.com/ticket/33104#comment:1>

Django

unread,
Sep 13, 2021, 12:27:45 AM9/13/21
to django-...@googlegroups.com
#33104: Long words overflow readonly fields
-------------------------------+----------------------------------------
Reporter: Aakash Singh | Owner: Aakash Singh
Type: Bug | Status: assigned
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 1
-------------------------------+----------------------------------------
Changes (by Mariusz Felisiak):

* status: new => assigned
* needs_better_patch: 0 => 1
* easy: 0 => 1
* owner: nobody => Aakash Singh
* stage: Unreviewed => Accepted


Comment:

Thanks for the report, IMO we should use `overflow-wrap: break-word;`.

--
Ticket URL: <https://code.djangoproject.com/ticket/33104#comment:2>

Django

unread,
Sep 13, 2021, 2:50:00 AM9/13/21
to django-...@googlegroups.com
#33104: Long words overflow readonly fields
-------------------------------------+-------------------------------------

Reporter: Aakash Singh | Owner: Aakash
| Singh
Type: Bug | Status: assigned
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/33104#comment:3>

Django

unread,
Sep 13, 2021, 2:50:32 AM9/13/21
to django-...@googlegroups.com
#33104: Long words overflow readonly fields
-------------------------------------+-------------------------------------
Reporter: Aakash Singh | Owner: Aakash
| Singh
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"04e023e38331d6717af1cbd8da4926af612f7831" 04e023e3]:
{{{
#!CommitTicketReference repository=""
revision="04e023e38331d6717af1cbd8da4926af612f7831"
Fixed #33104 -- Fixed wrapping of long words in admin readonly fields.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33104#comment:4>

Reply all
Reply to author
Forward
0 new messages