1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix - styling: Bootstrap 4 integration with the table-sm class (renamed from condensed in Bootstrap 3)

This commit is contained in:
Allan Jardine 2017-08-31 14:50:59 +01:00
parent 2f2629433d
commit cbec002afc
3 changed files with 13 additions and 8 deletions

View File

@ -1 +1 @@
21e6d0082a771ef6fa543ecf21d72fe58a2b36e3
a4848d63fc1e4058a16f00913a2c17e9ab04fe2a

View File

@ -158,14 +158,19 @@ div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
text-align: center;
}
}
table.dataTable.table-condensed > thead > tr > th {
table.dataTable.table-sm > thead > tr > th {
padding-right: 20px;
}
table.dataTable.table-condensed .sorting:after,
table.dataTable.table-condensed .sorting_asc:after,
table.dataTable.table-condensed .sorting_desc:after {
top: 6px;
right: 6px;
table.dataTable.table-sm .sorting:before,
table.dataTable.table-sm .sorting_asc:before,
table.dataTable.table-sm .sorting_desc:before {
top: 5px;
right: 0.85em;
}
table.dataTable.table-sm .sorting:after,
table.dataTable.table-sm .sorting_asc:after,
table.dataTable.table-sm .sorting_desc:after {
top: 5px;
}
table.table-bordered.dataTable th,

File diff suppressed because one or more lines are too long