Opened 2 years ago

Last modified 2 years ago

#33833 closed Bug

Close button styling issues in admin forms’ submit row — at Initial Version

Reported by: Thibaud Colas Owned by: nobody
Component: contrib.admin Version: 4.0
Severity: Normal Keywords: button, focus
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description

Picked up as part of reviewing #33728 / PR #15734 – in the admin’s submit_line.html / submit-row, the Close button is misaligned:

And it has an unexpected underline on focus:

The misalignment & other spacing issues are particularly visible when there are multiple buttons displayed, though it’s not clear to me whether this actually happens in practice:

---

To reproduce this, access a model form with a user who only has "View" permissions.

Change History (3)

by Thibaud Colas, 2 years ago

Attachment: close-button-admin.png added

by Thibaud Colas, 2 years ago

Attachment: close-button-focus.png added

by Thibaud Colas, 2 years ago

Attachment: close-button-group.png added
Note: See TracTickets for help on using tickets.
Back to Top