Opened 17 months ago
Last modified 17 months ago
#35540 closed Bug
Admin login form padding issue — at Version 1
| Reported by: | Sarah Boyce | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | 5.1 |
| Severity: | Release blocker | Keywords: | |
| 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 (last modified by )
If you look at the tutorial with an older screenshot of the Django admin, we're expecting some padding below the login button: https://docs.djangoproject.com/en/5.0/intro/tutorial02/#start-the-development-server
Current
Suggested update:
-
django/contrib/admin/static/admin/css/login.css
diff --git a/django/contrib/admin/static/admin/css/login.css b/django/contrib/admin/static/admin/css/login.css index 389772f5bc..805a34b5bd 100644
a b 21 21 } 22 22 23 23 .login #content { 24 padding: 20px 20px 0;24 padding: 20px; 25 25 } 26 26 27 27 .login #container {
After
Whoever picks this up should also update the image docs/intro/_images/admin01.png so that it has the latest styles 👍
Change History (3)
by , 17 months ago
| Attachment: | image-20240620-130503.png added |
|---|
by , 17 months ago
| Attachment: | image-20240620-130526.png added |
|---|
comment:1 by , 17 months ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.

