Fix #15944 - pagination table section background issue

Signed-off-by: Cliff Su <stu01509@yahoo.com.tw>
This commit is contained in:
Cliff Su 2020-02-11 09:35:41 +08:00 committed by William Desportes
parent a6988671a0
commit 99535ea647
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
3 changed files with 15 additions and 0 deletions

View File

@ -568,6 +568,11 @@ table tbody:first-of-type tr:nth-child(even) th,
background: #dfdfdf;
}
// only one item
table tbody:first-of-type tr:only-child {
background: none;
}
table tr {
text-align: $left;

View File

@ -622,6 +622,11 @@ table tr {
border-bottom: none;
}
// only one item
&:only-child {
background: none;
}
th {
text-align: $left;
border-bottom: 1px solid #eee;

View File

@ -573,6 +573,11 @@ table tbody:first-of-type tr:nth-child(even) th,
background: #dfdfdf;
}
// only one item
table tbody:first-of-type tr:only-child {
background: none;
}
table tr {
text-align: $left;