#35096 closed Bug (fixed)

Error messages in admin forms with class "wide" misaligned

Reported by: Fabian Braun Owned by: Fabian Braun
Component: contrib.admin Version: dev
Severity: Release blocker Keywords:
Cc: Tom Carrick Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Fabian Braun)

The admin allows customizing the styling of fieldsets. "wide" is a documented class for a fieldset. It widens the width of the label column from 160px to 200px.

Alas, if the form has errors, the error messages stay indented at 160px not 200px:
https://code.djangoproject.com/raw-attachment/ticket/35096/admin-wide.jpg

Attachments (1)

admin-wide.jpg (241.0 KB ) - added by Fabian Braun 11 months ago.

Download all attachments as: .zip

Change History (6)

by Fabian Braun, 11 months ago

Attachment: admin-wide.jpg added

comment:1 by Fabian Braun, 11 months ago

Description: modified (diff)

comment:2 by Fabian Braun, 11 months ago

Has patch: set

comment:3 by Mariusz Felisiak, 11 months ago

Cc: Tom Carrick added
Severity: NormalRelease blocker
Triage Stage: UnreviewedAccepted

Thanks for the report.

Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL).

comment:4 by Mariusz Felisiak, 11 months ago

Triage Stage: AcceptedReady for checkin
Last edited 11 months ago by Mariusz Felisiak (previous) (diff)

comment:5 by GitHub <noreply@…>, 11 months ago

Resolution: fixed
Status: assignedclosed

In 6dae408:

Fixed #35096 -- Corrected alignment for error lists in admin "wide" forms.

Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and
b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL).

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