Opened 8 months ago

Closed 8 months ago

#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 8 months ago.

Download all attachments as: .zip

Change History (2)

by Faris Alsmawi, 8 months ago

Attachment: django_admin.png added

comment:1 by Mariusz Felisiak, 8 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