#35540: Admin login form padding issue
-----------------------------------------+------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+------------------------
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
Suggested update:
{{{#!diff
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/django/contrib/admin/static/admin/css/login.css
+++ b/django/contrib/admin/static/admin/css/login.css
@@ -21,7 +21,7 @@
}
.login #content {
- padding: 20px 20px 0;
+ padding: 20px;
}
.login #container {
}}}
Whoever picks this up should also update the image
`docs/intro/_images/admin01.png` so that it has the latest styles 👍
--
Ticket URL: <
https://code.djangoproject.com/ticket/35540>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.