#33310: Django admin Select All CSS seems inconsistent on latest 3.2.9 version
------------------------------------------------+------------------------
Reporter: alvaromlg | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 3.2
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 |
------------------------------------------------+------------------------
Hello,
First of all I am not sure if this is intended, it's a change happening on
Django 3.2
On Django 3.1 this was the admin styling on Select All
[[Image(https://i.imgur.com/hvIRkis.png)]]
And on Django 3.2 it looks like this:
[[Image(https://i.imgur.com/DyiY43M.png)]]
Is it intended? Javascript doesnt add anymore the "selected" class and
even if you add it manually it doesnt apply the yellow color because the
CSS class just apply the body background color.
If it's intended I think we can refactor and just remove this CSS code at
changelist.css (and maybe in other places) because it's indeed (as the
comment says) not used and its a bit confusing when overriding it for
django admin template overriding purposes.
https://github.com/django/django/blob/main/django/contrib/admin/static/admin/css/changelists.css#L299
--
Ticket URL: <https://code.djangoproject.com/ticket/33310>
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/052.241623093ac8167060ca7c5e5d2fd992%40djangoproject.com.