Opened 6 months ago

Last modified 6 months ago

#35540 closed Bug

Admin login form padding issue — at Initial Version

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

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:

  • 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 {

Whoever picks this up should also update the image docs/intro/_images/admin01.png so that it has the latest styles 👍

Change History (2)

by Sarah Boyce, 6 months ago

Attachment: image-20240620-130503.png added

by Sarah Boyce, 6 months ago

Attachment: image-20240620-130526.png added
Note: See TracTickets for help on using tickets.
Back to Top