New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS bug with Bootstrap #22
Comments
Thanks for the bug report. Unfortunately using I feel that this is really a Chrome rendering bug, since the outline shouldn't be have the border displayed on top of it. But that would need confirmation from the Chrome folks. I'll open a bug when I get a chance to get feedback from them. |
Sorry I didn't mentioned that before, but I checked that in Chrome 44 and IE11 (tested on Win8.1x64). |
Maybe not Come specific then :-(. If you aren't using scrolling you can safely remove that code. If you want to use scrolling, it is needed (particularly in Firefox). |
Allan do You mean scroller plugin? I tried it and after removing that CSS rule it worked fine. |
No - the |
The issue can be probably fixed by z-index property added to dataTables.bootstrap.css like: table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled { |
Not sure about the idea of using z-index to address this as it might cause other layout issues in modals etc. But thanks for posting the suggestion - others might find this workaround useful. |
@DusanSenior I've tried Your solution on KeyTable example page, but after z-index header disappeared (tried -1 and -999): |
Strange, I have used Chrome, it works fine, but it doesn't work in IE, although header is visible but completely not orderable. I agree, it is not good idea. I also need to solve it, I will find ... |
There is outline-offset property allowing move box inside of the td element, but it is not supported by IE and Edge. So I have decided use background color instead of outline table.dataTable th.focus, or use keys.className option |
It seems that Edge does now support outline-offset, however, that isn't really enough. What I've done is to switch KeyTable to use |
Open http://datatables.net/extensions/keytable/examples/styling/bootstrap.html and select third column in first row (Tokyo).
You should see something like this:
(notice header border over cell selection border)
when it should look like this:
As You can see I've unchecked below CSS:
I'm not sure it this change won't affect other extensions, I checked FixedHeader and without that CSS it look better (in my opinion)
Could You please look at this in Your free time?
Thank You.
The text was updated successfully, but these errors were encountered: