#35540: Admin login form padding issue
-------------------------------+--------------------------------------
Reporter: Sarah Boyce | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by Sarah Boyce:
Old description:
> 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 👍
New description:
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
[[Image(image-20240620-130503.png)]]
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 {
}}}
After
[[Image(image-20240620-130526.png)]]
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#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107019035545588-3c2eb373-c9c5-45b1-993f-99c933c718d9-000000%40eu-central-1.amazonses.com.