Add <tfoot> support

This commit is contained in:
Lucas Larroche 2021-12-31 17:01:01 +07:00
parent 92c21aa1d4
commit 7f6ed9f5cb
24 changed files with 102 additions and 28 deletions

View file

@ -33,6 +33,15 @@ td {
text-align: start;
}
// Footer
tfoot {
th,
td {
border-top: var(--border-width) solid var(--table-border-color);
border-bottom: 0;
}
}
// Striped
table {
&[role="grid"] {

View file

@ -211,14 +211,15 @@ h5 {
}
// Table
thead {
thead,
tfoot {
th,
td {
--border-width: 3px;
}
}
:not(thead) > * > td {
:not(thead):not(tfoot) > * > td {
--font-size: 0.875em;
}