Opened 3 months ago

Last modified 3 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 Sarah Boyce)

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  
    2121}
    2222
    2323.login #content {
    24     padding: 20px 20px 0;
     24    padding: 20px;
    2525}
    2626
    2727.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 Sarah Boyce, 3 months ago

Attachment: image-20240620-130503.png added

by Sarah Boyce, 3 months ago

Attachment: image-20240620-130526.png added

comment:1 by Sarah Boyce, 3 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top