Skip to content

bootstrap + sScrollY adds space between header and body #37

@sagarbehere

Description

@sagarbehere

The file Plugins / integration / bootstrap / 3 / dataTables.bootstrap.css has the following code (lines 42-47):

table.dataTable {
clear: both;
margin-top: 6px !important;
margin-bottom: 6px !important;
max-width: none !important;
}

Because of the 6px margins, when using option sScrollY with bootstrap3, there comes a visible space between the table header and body. Setting the margins to 0px instead of 6px fixes the issue.
space

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions