1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows in admin.

This commit is contained in:
Jon Dufresne
2020-03-07 09:35:59 -08:00
committed by Mariusz Felisiak
parent ec292f261d
commit eb77e80de0
11 changed files with 31 additions and 65 deletions

View File

@@ -500,6 +500,9 @@ Miscellaneous
* :djadmin:`migrate` management command now runs the ``database`` system checks
only for a database to migrate.
* The admin CSS classes ``row1`` and ``row2`` are removed in favor of
``:nth-child(odd)`` and ``:nth-child(even)`` pseudo-classes.
.. _deprecated-features-3.1:
Features deprecated in 3.1