css of pagination button gone after using search

css of pagination button gone after using search

arcturusvoidarcturusvoid Posts: 1Questions: 1Answers: 0
edited March 2023 in Free community support

Whenver im searcing for something the css of pagination button changed and never came back.

here is the js.
var pendingTable = $('#pending-reservation-table').DataTable({
"bPaginate": true,
"bFilter": true,
"ordering": false,
"bInfo": false,
"bAutoWidth": false,
language: { search: '', searchPlaceholder: "Search..." },
});
$('.dataTables_wrapper .dataTables_paginate').addClass("d-flex justify-content-end");
$('.dataTables_wrapper .dataTables_paginate .paginate_button').css({'display': "inline-block", 'font-weight': "700", 'line-height': "1.5"," text-align": "center", "vertical-align": "middle", "cursor": "pointer", "border": "1px solid transparent", "padding": "0.375rem 1rem", "font-size": "0.75rem", "border-radius": "0.5rem", "transition": "all 0.15s ease-in"});

here is the demo: https://streamable.com/5orp1z

Answers

Sign In or Register to comment.