1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16: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

@@ -40,7 +40,7 @@ from .models import (
def build_tbody_html(pk, href, extra_fields):
return (
'<tbody><tr class="row1">'
'<tbody><tr>'
'<td class="action-checkbox">'
'<input type="checkbox" name="_selected_action" value="{}" '
'class="action-select"></td>'