Opened 2 months ago

Closed 3 weeks ago

#36885 closed Bug (fixed)

Long verbose names in the admin filter sidebar cause main area to reduce to unusable width

Reported by: Jacob Walls Owned by: Muhammad Usman
Component: contrib.admin Version: 5.2
Severity: Normal Keywords: wrap admin filter
Cc: Harsh007, Varun Kasyap Pentamaraju Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

The test case being added in #36850 reveals at smaller screen sizes, an infelicity where long verbose names not broken mid-word in the admin filter sidebar cause the main area to shrink to almost nothing. See screenshot.

Attachments (1)

long-verbose-name-unusable-main-area.png (156.2 KB ) - added by Jacob Walls 2 months ago.

Download all attachments as: .zip

Change History (17)

by Jacob Walls, 2 months ago

comment:1 by Natalia Bidart, 2 months ago

Keywords: admin filter added
Triage Stage: UnreviewedAccepted

Reproduced, thank you!

comment:2 by Harsh007, 2 months ago

Cc: Harsh007 added
Owner: set to Harsh007
Status: newassigned

I can work on this issue and will propose a patch.

comment:3 by Varun Kasyap Pentamaraju, 2 months ago

Cc: Varun Kasyap Pentamaraju added

comment:4 by Harsh007, 2 months ago

Has patch: set

comment:5 by Harsh007, 2 months ago

Last edited 2 months ago by Harsh007 (previous) (diff)

comment:6 by Jacob Walls, 2 months ago

Patch needs improvement: set

comment:7 by Jacob Walls, 2 months ago

Has patch: unset
Patch needs improvement: unset

comment:8 by Harsh007, 2 months ago

Has patch: set

New PR opened after review cleanup and fixes: https://github.com/django/django/pull/20622

comment:9 by Jacob Walls, 8 weeks ago

Patch needs improvement: set

comment:10 by Muhammad Usman, 3 weeks ago

Owner: changed from Harsh007 to Muhammad Usman

comment:11 by Muhammad Usman, 3 weeks ago

Patch needs improvement: unset

comment:12 by Muhammad Usman, 3 weeks ago

Version 0, edited 3 weeks ago by Muhammad Usman (next)

comment:13 by Jacob Walls, 3 weeks ago

Patch needs improvement: set

comment:14 by Muhammad Usman, 3 weeks ago

Patch needs improvement: unset

comment:15 by Jacob Walls, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:16 by Jacob Walls <jacobtylerwalls@…>, 3 weeks ago

Resolution: fixed
Status: assignedclosed

In e0fd41c:

Fixed #36885 -- Fixed long verbose names in admin filter sidebar breaking layout.

Note: See TracTickets for help on using tickets.
Back to Top