1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Revert "Fix missing tfoot styling" (#1794)

This reverts commit 1ab403459f.
This commit is contained in:
Paweł Kuna
2024-01-01 22:53:08 +01:00
committed by GitHub
parent b9ad4979f7
commit 02d6287f6b
3 changed files with 5 additions and 29 deletions

View File

@@ -86,25 +86,5 @@
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
{% if include.footer %}
<tfoot>
<tr>
<th>Name</th>
<th>Title</th>
{% unless include.avatars %}
<th>Email</th>
{% endunless %}
<th>Role</th>
{% if include.nowrap %}
<th></th>
{% endif %}
<th class="w-1"></th>
</tr>
</tfoot>
{% endif %}
</table> </table>
</div> </div>

View File

@@ -16,7 +16,7 @@ menu: base.tables
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
{% include ui/table.html card=true stripped=true offset=5 footer=true %} {% include ui/table.html card=true stripped=true offset=5 %}
</div> </div>
</div> </div>

View File

@@ -1,6 +1,5 @@
.table { .table {
thead, thead {
tfoot {
th { th {
color: $table-th-color; color: $table-th-color;
background: $table-th-bg; background: $table-th-bg;
@@ -27,8 +26,7 @@
} }
.table-transparent { .table-transparent {
thead, thead {
tfoot {
th { th {
background: transparent; background: transparent;
} }
@@ -64,8 +62,7 @@
@include media-breakpoint-down($breakpoint) { @include media-breakpoint-down($breakpoint) {
display: block; display: block;
thead, thead {
tfoot {
display: none; display: none;
} }
@@ -148,8 +145,7 @@ Table sort
} }
.table-borderless { .table-borderless {
thead th, thead th {
tfoot th {
background: transparent; background: transparent;
} }
} }