1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Fix: On pages which use *{box-sizing:border-box} scrolling would break

- The fix here is to set the box sizing for the table and its cells to
  be content-box sizing to allow the column width calculations to occur
  correctly - 17932
This commit is contained in:
Allan Jardine 2013-10-24 13:20:13 +01:00
parent e10bedb750
commit 9eb7164152
3 changed files with 17 additions and 1 deletions

View File

@ -1 +1 @@
de247bfb9788a34d7b61d827d5a90a7d5bf43db6
f36773920884cfe0f05fbf81c132d0133f5d23dd

View File

@ -210,6 +210,14 @@ table.dataTable.sort-column.hover tbody tr.even:hover.selected > .sorting_3 {
background-color: #a4b2cb;
}
table.dataTable,
table.dataTable th,
table.dataTable td {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
/*
* Control feature layout
*/

View File

@ -203,6 +203,14 @@ table.dataTable.sort-column.hover tbody tr.even:hover.selected > .sorting_3 {
background-color: #a4b2cb;
}
table.dataTable,
table.dataTable th,
table.dataTable td {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
/*
* Control feature layout
*/