Fix #37 - Scrolling tables incorrectly had margin between the component

tables for Bootstrap and Foundation integration
pull/40/head
Allan Jardine 11 years ago
parent faf4f3126f
commit 1f9595d4a9

@ -61,6 +61,7 @@ div.dataTables_scrollHead table thead tr:last-child td:first-child {
div.dataTables_scrollBody table {
border-top: none;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
@ -70,6 +71,7 @@ div.dataTables_scrollBody tbody tr:first-child td {
}
div.dataTables_scrollFoot table {
margin-top: 0 !important;
border-top: none;
}

@ -27,7 +27,8 @@ div.dataTables_paginate {
}
div.dataTables_paginate ul.pagination {
margin: 2px;
margin: 2px 0;
white-space: nowrap;
}
table.dataTable,
@ -80,6 +81,7 @@ div.dataTables_scrollHead table thead tr:last-child td:first-child {
div.dataTables_scrollBody table {
border-top: none;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
@ -89,6 +91,7 @@ div.dataTables_scrollBody tbody tr:first-child td {
}
div.dataTables_scrollFoot table {
margin-top: 0 !important;
border-top: none;
}

@ -74,6 +74,7 @@ div.dataTables_scrollHead table {
div.dataTables_scrollBody table {
border-top: none;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
@ -83,6 +84,7 @@ div.dataTables_scrollBody tbody tr:first-child td {
}
div.dataTables_scrollFoot table {
margin-top: 0 !important;
border-top: none;
}

@ -1,9 +1,9 @@
/* Set the defaults for DataTables initialisation */
$.extend( true, $.fn.dataTable.defaults, {
"sDom":
"<'row'<'large-6 columns'l><'large-6 columns'f>r>"+
"<'row'<'small-6 columns'l><'small-6 columns'f>r>"+
"t"+
"<'row'<'large-6 columns'i><'large-6 columns'p>>",
"<'row'<'small-6 columns'i><'small-6 columns'p>>",
"oLanguage": {
"sLengthMenu": "_MENU_ records per page"
}

Loading…
Cancel
Save