Skip to content

Commit 05cb657

Browse files
author
dtbuild
committed
2f8c2558a6a68f40e2c553a63764a9a98cc3d5c8 Fix: Set the -tag tfoot to be hidden when it is empty to improve accessability
DataTables/DataTablesSrc#308 Sync to source repo @2f8c2558a6a68f40e2c553a63764a9a98cc3d5c8
1 parent 0ef9b8d commit 05cb657

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

css/dataTables.jqueryui.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ table.dataTable tr.dt-hasChild td.dt-control:before {
3131
border-bottom: 0px solid transparent;
3232
border-right: 5px solid transparent;
3333
}
34+
table.dataTable tfoot:empty {
35+
display: none;
36+
}
3437

3538
html.dark table.dataTable td.dt-control:before,
3639
:root[data-bs-theme=dark] table.dataTable td.dt-control:before,
@@ -100,6 +103,9 @@ table.dataTable tr.dt-hasChild td.dt-control:before {
100103
border-bottom: 0px solid transparent;
101104
border-right: 5px solid transparent;
102105
}
106+
table.dataTable tfoot:empty {
107+
display: none;
108+
}
103109

104110
html.dark table.dataTable td.dt-control:before,
105111
:root[data-bs-theme=dark] table.dataTable td.dt-control:before,

0 commit comments

Comments
 (0)