Skip to content

Commit 90d260e

Browse files
committedAug 16, 2021
c786a08db6bf6a8cd9b9da1707bc0f776b380483 Fix: CSS for nested DataTable in a scrolling DataTable would have its sorting icons removed
DD-2061 Sync to source repo @c786a08db6bf6a8cd9b9da1707bc0f776b380483
1 parent 42ce8d3 commit 90d260e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed
 

‎css/dataTables.bootstrap4.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -207,21 +207,21 @@ div.dataTables_scrollHead table.dataTable {
207207
margin-bottom: 0 !important;
208208
}
209209

210-
div.dataTables_scrollBody table {
210+
div.dataTables_scrollBody > table {
211211
border-top: none;
212212
margin-top: 0 !important;
213213
margin-bottom: 0 !important;
214214
}
215-
div.dataTables_scrollBody table thead .sorting:before,
216-
div.dataTables_scrollBody table thead .sorting_asc:before,
217-
div.dataTables_scrollBody table thead .sorting_desc:before,
218-
div.dataTables_scrollBody table thead .sorting:after,
219-
div.dataTables_scrollBody table thead .sorting_asc:after,
220-
div.dataTables_scrollBody table thead .sorting_desc:after {
215+
div.dataTables_scrollBody > table > thead .sorting:before,
216+
div.dataTables_scrollBody > table > thead .sorting_asc:before,
217+
div.dataTables_scrollBody > table > thead .sorting_desc:before,
218+
div.dataTables_scrollBody > table > thead .sorting:after,
219+
div.dataTables_scrollBody > table > thead .sorting_asc:after,
220+
div.dataTables_scrollBody > table > thead .sorting_desc:after {
221221
display: none;
222222
}
223-
div.dataTables_scrollBody table tbody tr:first-child th,
224-
div.dataTables_scrollBody table tbody tr:first-child td {
223+
div.dataTables_scrollBody > table > tbody tr:first-child th,
224+
div.dataTables_scrollBody > table > tbody tr:first-child td {
225225
border-top: none;
226226
}
227227

‎css/dataTables.bootstrap4.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎datatables.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
],
1313
"src-repo": "http://github.com/DataTables/DataTablesSrc",
1414
"last-tag": "1.10.25",
15-
"last-sync": "bff756573cff460d180af024046fa12173335650"
15+
"last-sync": "c786a08db6bf6a8cd9b9da1707bc0f776b380483"
1616
}

0 commit comments

Comments
 (0)
Please sign in to comment.