#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.

-- 
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/01070190355146c0-5b0677c7-d7f8-48eb-99b8-458421b4c52c-000000%40eu-central-1.amazonses.com.

Reply via email to