If you adjust the screen width below 370px, the pagination buttons do not collapse.
To Reproduce
Steps to reproduce the behavior:
Screenshots

Environment (please complete the following information):
Update: this problem already discussed on this post.
Seems like the best solution for now is:
@media screen and (max-width: 450px) {
li.paginate_button.previous {
display: inline;
}
li.paginate_button.next {
display: inline;
}
li.paginate_button {
display: none;
}
}

You can also override the amount of numbers showing with
$.fn.DataTable.ext.pager.numbers_length = 5;
I would not add a fix for this, to give the users the control over the style.
Most helpful comment
You can also override the amount of numbers showing with
I would not add a fix for this, to give the users the control over the style.