Skip to content

Commit 9c2649b

Browse files
author
dtbuild
committed
628edf013b20d376667768f2ce999b8ecb9a60ad Fix: Specifying dt-left or dt-head-left for a numeric or date column should cause the sort icon to be on the right.
DataTables/DataTablesSrc#342 Sync to source repo @628edf013b20d376667768f2ce999b8ecb9a60ad
1 parent de5f20b commit 9c2649b

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

css/dataTables.jqueryui.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,12 @@ table.dataTable th.dt-left,
355355
table.dataTable td.dt-left {
356356
text-align: left;
357357
}
358+
table.dataTable th.dt-left div.dt-column-header,
359+
table.dataTable th.dt-left div.dt-column-footer,
360+
table.dataTable td.dt-left div.dt-column-header,
361+
table.dataTable td.dt-left div.dt-column-footer {
362+
flex-direction: row;
363+
}
358364
table.dataTable th.dt-center,
359365
table.dataTable td.dt-center {
360366
text-align: center;
@@ -373,6 +379,12 @@ table.dataTable th.dt-justify,
373379
table.dataTable td.dt-justify {
374380
text-align: justify;
375381
}
382+
table.dataTable th.dt-justify div.dt-column-header,
383+
table.dataTable th.dt-justify div.dt-column-footer,
384+
table.dataTable td.dt-justify div.dt-column-header,
385+
table.dataTable td.dt-justify div.dt-column-footer {
386+
flex-direction: row;
387+
}
376388
table.dataTable th.dt-nowrap,
377389
table.dataTable td.dt-nowrap {
378390
white-space: nowrap;
@@ -394,6 +406,16 @@ table.dataTable tfoot th.dt-head-left,
394406
table.dataTable tfoot td.dt-head-left {
395407
text-align: left;
396408
}
409+
table.dataTable thead th.dt-head-left div.dt-column-header,
410+
table.dataTable thead th.dt-head-left div.dt-column-footer,
411+
table.dataTable thead td.dt-head-left div.dt-column-header,
412+
table.dataTable thead td.dt-head-left div.dt-column-footer,
413+
table.dataTable tfoot th.dt-head-left div.dt-column-header,
414+
table.dataTable tfoot th.dt-head-left div.dt-column-footer,
415+
table.dataTable tfoot td.dt-head-left div.dt-column-header,
416+
table.dataTable tfoot td.dt-head-left div.dt-column-footer {
417+
flex-direction: row;
418+
}
397419
table.dataTable thead th.dt-head-center,
398420
table.dataTable thead td.dt-head-center,
399421
table.dataTable tfoot th.dt-head-center,
@@ -422,6 +444,16 @@ table.dataTable tfoot th.dt-head-justify,
422444
table.dataTable tfoot td.dt-head-justify {
423445
text-align: justify;
424446
}
447+
table.dataTable thead th.dt-head-justify div.dt-column-header,
448+
table.dataTable thead th.dt-head-justify div.dt-column-footer,
449+
table.dataTable thead td.dt-head-justify div.dt-column-header,
450+
table.dataTable thead td.dt-head-justify div.dt-column-footer,
451+
table.dataTable tfoot th.dt-head-justify div.dt-column-header,
452+
table.dataTable tfoot th.dt-head-justify div.dt-column-footer,
453+
table.dataTable tfoot td.dt-head-justify div.dt-column-header,
454+
table.dataTable tfoot td.dt-head-justify div.dt-column-footer {
455+
flex-direction: row;
456+
}
425457
table.dataTable thead th.dt-head-nowrap,
426458
table.dataTable thead td.dt-head-nowrap,
427459
table.dataTable tfoot th.dt-head-nowrap,

0 commit comments

Comments
 (0)