Avoid background-color override for <th>

instead, only do the stripes for rows in the tbody, not the thead.
This commit is contained in:
Richard van der Hoff 2022-08-02 22:46:06 +01:00
parent c2d8e091f8
commit 5926efa9bd

View file

@ -343,17 +343,13 @@ footer {
} }
&.object-table, &.response-table { &.object-table, &.response-table {
caption, tr { caption, tbody tr {
background-color: $table-row-default; background-color: $table-row-default;
} }
tr:nth-child(even) { tbody tr:nth-child(even) {
background-color: $table-row-alternate; background-color: $table-row-alternate;
} }
th {
background-color: $white;
}
} }
&.basic-info, &.basic-info th, &.basic-info td { &.basic-info, &.basic-info th, &.basic-info td {