Open Ana06 opened 5 years ago
hi @Ana06, you should include dataTables.bootstrap4.scss
instead for bootstrap4.
@mkhairi That's the one I have included. Maybe my guess why this is happening is wrong, but the issue is still there.
This is my stylesheets/webui2/datatables.scss file: https://github.com/openSUSE/open-build-service/blob/master/src/api/app/assets/stylesheets/webui2/datatables.scss
I am using Bootstrap 4 and jquery-datatables 1.10.19.1. I have the following code:
Which in an screen of 950px looks like:![image](https://user-images.githubusercontent.com/16052290/49231921-3fee8980-f3f3-11e8-8377-53d00b8b9402.png)
It seems the problem is the width in the input, which comes from this code: https://github.com/mkhairi/jquery-datatables/blob/12aa184b656f82bf1190ee1a7e796e08afafb69d/app/assets/stylesheets/datatables/dataTables.bootstrap.scss#L54
This may be related: https://github.com/DataTables/Plugins/issues/110