Skip to content

Commit

Permalink
Fix: Hide pager in legacy datatables when only one page (#10210)
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyBytes committed Dec 29, 2024
1 parent 81681fb commit 1943319
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static/css/legacy-datatables.less
Original file line number Diff line number Diff line change
Expand Up @@ -423,3 +423,8 @@ tr.even.gradeU td.sorting_3 {
margin: 10px;
}
}


.dataTables_paginate.paging_full_numbers:has(.paginate_button.previous.disabled):has(.paginate_button.next.disabled):has(.paginate_button.first.disabled):has(.paginate_button.last.disabled) {
display: none;
}

0 comments on commit 1943319

Please sign in to comment.