Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 14b80a0

Browse files
committed
Double sort icon when combined Bootstrap with Scroller #280
1 parent 9a40bdf commit 14b80a0

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

dist/plugins/bootstrap/datatables.bootstrap.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ div.dataTables_paginate ul.pagination {
3030
}
3131
table.table {
3232
clear: both;
33-
margin-top: 6px !important;
34-
margin-bottom: 6px !important;
3533
max-width: none !important;
3634
}
37-
table.table thead .sorting, table.table thead .sorting_asc, table.table thead .sorting_desc, table.table thead .sorting_asc_disabled, table.table thead .sorting_desc_disabled {
35+
table.table thead .sorting,
36+
table.table thead .sorting_asc,
37+
table.table thead .sorting_desc,
38+
table.table thead .sorting_asc_disabled,
39+
table.table thead .sorting_desc_disabled {
3840
cursor: pointer;
41+
background: none;
3942
}
4043
table.table thead .sorting:before {
4144
content: ' ';
@@ -50,6 +53,13 @@ table.table thead .sorting_asc:before {
5053
content: "\25B4";
5154
padding-right: 5px;
5255
}
56+
.dataTables_scrollBody table.table thead .sorting:before,
57+
.dataTables_scrollBody table.table thead .sorting_desc:before,
58+
.dataTables_scrollBody table.table thead .sorting_asc:before {
59+
content: '';
60+
padding-right: 0;
61+
}
62+
5363
table.dataTable th:active {
5464
outline: none;
5565
}

dist/plugins/bootstrap/datatables.bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/bootstrap/datatables.bootstrap.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ div.dataTables_paginate ul.pagination {
2828
}
2929
table.table {
3030
clear: both;
31-
margin-top: 6px !important;
32-
margin-bottom: 6px !important;
3331
max-width: none !important;
3432
}
35-
table.table thead .sorting, table.table thead .sorting_asc, table.table thead .sorting_desc, table.table thead .sorting_asc_disabled, table.table thead .sorting_desc_disabled {
33+
table.table thead .sorting,
34+
table.table thead .sorting_asc,
35+
table.table thead .sorting_desc,
36+
table.table thead .sorting_asc_disabled,
37+
table.table thead .sorting_desc_disabled {
3638
cursor: pointer;
39+
background: none;
3740
}
3841
table.table thead .sorting:before {
3942
content: ' ';
@@ -48,6 +51,13 @@ table.table thead .sorting_asc:before {
4851
content: "\25B4";
4952
padding-right: 5px;
5053
}
54+
.dataTables_scrollBody table.table thead .sorting:before,
55+
.dataTables_scrollBody table.table thead .sorting_desc:before,
56+
.dataTables_scrollBody table.table thead .sorting_asc:before {
57+
content: '';
58+
padding-right: 0;
59+
}
60+
5161
table.dataTable th:active {
5262
outline: none;
5363
}

0 commit comments

Comments
 (0)