Dean.DePue
Dean.DePue

Reputation: 1013

jQuery Datatables pagination font size

I have a datatable with many entries and it nicely creates pages for me. However, the "Previous" and "Next" buttons as well as the page numbers are really large. I cannot find anywhere how to set the font size to make them smaller.

Paging

Upvotes: 0

Views: 5299

Answers (1)

Praveen Kumar Purushothaman
Praveen Kumar Purushothaman

Reputation: 167182

Looks like it is a non-inline-block issue. This should fix. Give this in the CSS at the end:

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  display: inline-block;
  font-size: 10pt;
}

Upvotes: 1

Related Questions