mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed visual bugs introduced by the datatables upgrade
This commit is contained in:
parent
67a1d06f37
commit
51900b4b62
1 changed files with 8 additions and 1 deletions
|
@ -84,7 +84,7 @@ th.select-checkbox {
|
|||
* Datatables definitions/overrides
|
||||
********************************************************************/
|
||||
|
||||
.dataTables_length {
|
||||
.dt-length {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
|
@ -94,6 +94,11 @@ table.dataTable tr.selected td.select-checkbox:after
|
|||
margin-top: -20px !important;
|
||||
}
|
||||
|
||||
/** Show pagination right aligned */
|
||||
.dt-paging .pagination {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************
|
||||
Classes for Datatables export
|
||||
|
@ -132,6 +137,7 @@ table.dataTable > thead > tr > th.select-checkbox:before {
|
|||
|
||||
table.dataTable > tbody > tr > td.select-checkbox:before, table.dataTable > tbody > tr > th.select-checkbox:before {
|
||||
border: 2px solid var(--bs-tertiary-color) !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.dataTable > tbody > tr > td.select-checkbox:before, table.dataTable > tbody > tr > td.select-checkbox:after, table.dataTable > tbody > tr > th.select-checkbox:before, table.dataTable > tbody > tr > th.select-checkbox:after {
|
||||
|
@ -142,6 +148,7 @@ table.dataTable > tbody > tr > td.select-checkbox:before, table.dataTable > tbod
|
|||
table.dataTable > thead > tr.selected > th.select-checkbox:after {
|
||||
content: "✓";
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-top: -20px;
|
||||
margin-left: -6px;
|
||||
text-align: center;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue