DataTables 1.10.25 broke <table class="table-striped">
with Bootstrap 5.
table.dataTable.table-striped tr.odd {
background-color: #f9f9f9 !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
--bs-table-accent-bg: none !important;
}
The !important
tags break table-hover
and row selection. It also breaks highlighting a row in Editor (the row disappears).
The !important
tags only appear in the concatenated datatables.css
and the minified datatables.min.css
generated by the Download Builder. They do not appear in the original source css folder DataTables-1.10.25/css
.