FixedHeader top margin issue

FixedHeader top margin issue

intellintell Posts: 6Questions: 2Answers: 0

Link to test case: http://live.datatables.net/mibagoxi/6/edit
Error messages shown: None.
Description of problem: I emulated a FixedHeader top margin issue I am facing in the above link. I am almost certain it is due to conflict in the libraries used, but cannot solve it. Any help is appreciated.

This question has an accepted answers - jump to answer

Answers

  • sandysandy Posts: 694Questions: 0Answers: 188

    Hi @intell ,

    Thanks for pointing this out, something isn't right there. I've raised an issue internally (DD-2229 for my reference) and will report back here when there is an update.

    Thanks,
    Sandy

  • sandysandy Posts: 694Questions: 0Answers: 188
    Answer ✓

    Sorry, false alarm. You weren't including the styling integration for bootstrap 5, but instead were including the DataTables one. Take a look at this version of your example.

    Here I've moved the links for FixedHeader to use the nightly builds, and then I've swapped

    <link rel="stylesheet" type="text/css" href="https://nightly.datatables.net/fixedheader/css/fixedHeader.dataTables.css">
    

    for

    <link rel="stylesheet" type="text/css" href="https://nightly.datatables.net/fixedheader/css/fixedHeader.bootstrap5.css">
    

    Thanks,
    Sandy

  • intellintell Posts: 6Questions: 2Answers: 0

    Thank Sandy,
    https://nightly.datatables.net/fixedheader/css/fixedHeader.bootstrap5.css
    worked like a charm! I could swear the fixedHeader.bootstrap5.scss posted on GitHub repo was different this morning. Now I found the same. Thanks a million.

Sign In or Register to comment.