mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Avoid background-color override for <th>
instead, only do the stripes for rows in the tbody, not the thead.
This commit is contained in:
parent
c2d8e091f8
commit
5926efa9bd
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue