#35132 closed Cleanup/optimization (worksforme)

Django admin dark mode leaves the main container light.

Reported by: Faris Alsmawi Owned by: nobody
Component: contrib.admin Version: 5.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description

When set my OS to dark mode and put django admin in white mode , main container still dark.

my fixed patch:

#container > .main {
    display: flex;
    flex: 1 0 auto;
    background: var(--body-bg); /* add this line */
}

Attachments (1)

django_admin.png (55.3 KB ) - added by Faris Alsmawi 11 months ago.

Download all attachments as: .zip

Change History (2)

by Faris Alsmawi, 11 months ago

Attachment: django_admin.png added

comment:1 by Mariusz Felisiak, 11 months ago

Has patch: unset
Resolution: worksforme
Status: newclosed
Summary: Django admin dark modeDjango admin dark mode leaves the main container light.

Thanks for this report, however, I cannot reproduce this issue on Django 5.0+.

Note: See TracTickets for help on using tickets.
Back to Top