This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
DataTables
Watch
1
Star
0
Fork
0
You've already forked DataTables
mirror of
https://github.com/DataTables/DataTables.git
synced
2025-02-01 00:52:11 +01:00
Code
Issues
Releases
Activity
DataTables
/
.datatables-commit-sync
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix: box-sizing: border-box would cause column misalignment when scrolling - It is far from uncommon to do `* { box-sizing: border-box; }` at the top of your CSS these days, including in frameworks, but this could cause DataTables a little bit of a problem when scrolling both horizontally and vertically since the padding it adds to the header linear element to allow it to scroll over the vertical scrollbar would be folded into the width of the div linear, rather than added to it. - Fix is to simply set the box-sizing for the linear. I've decided to do this in Javascript rather than CSS since it is going to be needed regardless of the CSS being used.
2013-08-04 09:26:02 +01:00
f799420905648a780426600e304c31cc82e1e56d
Reference in New Issue
Copy Permalink