Skip to content

Commit 4a33e1c

Browse files
author
dtbuild
committed
3279168c73e0932b6a7f97ef029d558bf1ada717 Fix: Bootstrap integration - table-sm stylings for the ordering icons were misaligned.
https://datatables.net/forums/discussion/80889/bs5-styling-issue-in-v2-3 Sync to source repo @3279168c73e0932b6a7f97ef029d558bf1ada717
1 parent 6836d2d commit 4a33e1c

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

css/dataTables.bootstrap.css

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,24 @@ div.dt-scroll-foot > .dt-scroll-footInner > table {
585585
margin-bottom: 0.75rem;
586586
}
587587
}
588-
table.dataTable.table-condensed > thead > tr > th {
589-
padding-right: 20px;
588+
table.dataTable.table-condensed > thead > tr th.dt-orderable-asc, table.dataTable.table-condensed > thead > tr th.dt-orderable-desc, table.dataTable.table-condensed > thead > tr th.dt-ordering-asc, table.dataTable.table-condensed > thead > tr th.dt-ordering-desc,
589+
table.dataTable.table-condensed > thead > tr td.dt-orderable-asc,
590+
table.dataTable.table-condensed > thead > tr td.dt-orderable-desc,
591+
table.dataTable.table-condensed > thead > tr td.dt-ordering-asc,
592+
table.dataTable.table-condensed > thead > tr td.dt-ordering-desc {
593+
padding-right: 4px;
594+
}
595+
table.dataTable.table-condensed > thead > tr th.dt-orderable-asc span.dt-column-order, table.dataTable.table-condensed > thead > tr th.dt-orderable-desc span.dt-column-order, table.dataTable.table-condensed > thead > tr th.dt-ordering-asc span.dt-column-order, table.dataTable.table-condensed > thead > tr th.dt-ordering-desc span.dt-column-order,
596+
table.dataTable.table-condensed > thead > tr td.dt-orderable-asc span.dt-column-order,
597+
table.dataTable.table-condensed > thead > tr td.dt-orderable-desc span.dt-column-order,
598+
table.dataTable.table-condensed > thead > tr td.dt-ordering-asc span.dt-column-order,
599+
table.dataTable.table-condensed > thead > tr td.dt-ordering-desc span.dt-column-order {
600+
right: 4px;
601+
}
602+
table.dataTable.table-condensed > thead > tr th.dt-type-date span.dt-column-order, table.dataTable.table-condensed > thead > tr th.dt-type-numeric span.dt-column-order,
603+
table.dataTable.table-condensed > thead > tr td.dt-type-date span.dt-column-order,
604+
table.dataTable.table-condensed > thead > tr td.dt-type-numeric span.dt-column-order {
605+
right: 4px;
590606
}
591607

592608
div.dt-scroll-head table.table-bordered {

0 commit comments

Comments
 (0)