Skip to content
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

Bootstrap 3.1 issue with filter input width #46

Closed
jcberquist opened this issue Mar 7, 2014 · 1 comment
Closed

Bootstrap 3.1 issue with filter input width #46

jcberquist opened this issue Mar 7, 2014 · 1 comment

Comments

@jcberquist
Copy link

This is in reference to integration/bootstrap/3/dataTables.bootstrap.css.

Bootstrap 3.1 added width: auto to .form-inline .form-control (for @media(min-width:768px)) which overrides the width of 16em set for the filter input in the css integration file. I think this could be fixed by simply adding the .form-control class to the div.dataTables_filter input css selector? That is, it would become:

div.dataTables_filter input.form-control {
  width: 16em;
}

I should note that this also happens the with the length select element, so perhaps this behavior is expected/desired?

@DataTables
Copy link
Collaborator

DataTables 1.10 does this already with the current integration: http://next.datatables.net/manual/styling/bootstrap .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant