﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33833	Close button styling issues in admin forms’ submit row	Thibaud Colas	Leonid Podriz	"Picked up as part of reviewing #33728 / [https://github.com/django/django/pull/15734 PR #15734] – in the admin’s `submit_line.html` / `submit-row`, the Close button is misaligned:

[[Image(https://code.djangoproject.com/raw-attachment/ticket/33833/close-button-admin.png)]]

And it has an unexpected underline on focus:

[[Image(https://code.djangoproject.com/raw-attachment/ticket/33833/close-button-focus.png)]]

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:

[[Image(https://code.djangoproject.com/raw-attachment/ticket/33833/close-button-group.png)]]

This is also the case when buttons are displayed vertically in the ""mobile"" viewports.

---

To reproduce this, access a model form with a user who only has ""View"" permissions.
"	Bug	closed	contrib.admin	4.0	Normal	fixed	button, focus		Ready for checkin	1	0	0	0	1	1
