Skip to content

Commit cdbdffd

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 b357c95 commit cdbdffd

File tree

3 files changed

+66
-2
lines changed

3 files changed

+66
-2
lines changed

css/dataTables.semanticui.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,12 @@ table.dataTable.ui.table th.dt-left,
283283
table.dataTable.ui.table td.dt-left {
284284
text-align: left;
285285
}
286+
table.dataTable.ui.table th.dt-left div.dt-column-header,
287+
table.dataTable.ui.table th.dt-left div.dt-column-footer,
288+
table.dataTable.ui.table td.dt-left div.dt-column-header,
289+
table.dataTable.ui.table td.dt-left div.dt-column-footer {
290+
flex-direction: row;
291+
}
286292
table.dataTable.ui.table th.dt-center,
287293
table.dataTable.ui.table td.dt-center {
288294
text-align: center;
@@ -301,6 +307,12 @@ table.dataTable.ui.table th.dt-justify,
301307
table.dataTable.ui.table td.dt-justify {
302308
text-align: justify;
303309
}
310+
table.dataTable.ui.table th.dt-justify div.dt-column-header,
311+
table.dataTable.ui.table th.dt-justify div.dt-column-footer,
312+
table.dataTable.ui.table td.dt-justify div.dt-column-header,
313+
table.dataTable.ui.table td.dt-justify div.dt-column-footer {
314+
flex-direction: row;
315+
}
304316
table.dataTable.ui.table th.dt-nowrap,
305317
table.dataTable.ui.table td.dt-nowrap {
306318
white-space: nowrap;
@@ -322,6 +334,16 @@ table.dataTable.ui.table tfoot th.dt-head-left,
322334
table.dataTable.ui.table tfoot td.dt-head-left {
323335
text-align: left;
324336
}
337+
table.dataTable.ui.table thead th.dt-head-left div.dt-column-header,
338+
table.dataTable.ui.table thead th.dt-head-left div.dt-column-footer,
339+
table.dataTable.ui.table thead td.dt-head-left div.dt-column-header,
340+
table.dataTable.ui.table thead td.dt-head-left div.dt-column-footer,
341+
table.dataTable.ui.table tfoot th.dt-head-left div.dt-column-header,
342+
table.dataTable.ui.table tfoot th.dt-head-left div.dt-column-footer,
343+
table.dataTable.ui.table tfoot td.dt-head-left div.dt-column-header,
344+
table.dataTable.ui.table tfoot td.dt-head-left div.dt-column-footer {
345+
flex-direction: row;
346+
}
325347
table.dataTable.ui.table thead th.dt-head-center,
326348
table.dataTable.ui.table thead td.dt-head-center,
327349
table.dataTable.ui.table tfoot th.dt-head-center,
@@ -350,6 +372,16 @@ table.dataTable.ui.table tfoot th.dt-head-justify,
350372
table.dataTable.ui.table tfoot td.dt-head-justify {
351373
text-align: justify;
352374
}
375+
table.dataTable.ui.table thead th.dt-head-justify div.dt-column-header,
376+
table.dataTable.ui.table thead th.dt-head-justify div.dt-column-footer,
377+
table.dataTable.ui.table thead td.dt-head-justify div.dt-column-header,
378+
table.dataTable.ui.table thead td.dt-head-justify div.dt-column-footer,
379+
table.dataTable.ui.table tfoot th.dt-head-justify div.dt-column-header,
380+
table.dataTable.ui.table tfoot th.dt-head-justify div.dt-column-footer,
381+
table.dataTable.ui.table tfoot td.dt-head-justify div.dt-column-header,
382+
table.dataTable.ui.table tfoot td.dt-head-justify div.dt-column-footer {
383+
flex-direction: row;
384+
}
353385
table.dataTable.ui.table thead th.dt-head-nowrap,
354386
table.dataTable.ui.table thead td.dt-head-nowrap,
355387
table.dataTable.ui.table tfoot th.dt-head-nowrap,
@@ -451,6 +483,12 @@ table.dataTable.ui.table th.dt-left,
451483
table.dataTable.ui.table td.dt-left {
452484
text-align: left;
453485
}
486+
table.dataTable.ui.table th.dt-left div.dt-column-header,
487+
table.dataTable.ui.table th.dt-left div.dt-column-footer,
488+
table.dataTable.ui.table td.dt-left div.dt-column-header,
489+
table.dataTable.ui.table td.dt-left div.dt-column-footer {
490+
flex-direction: row;
491+
}
454492
table.dataTable.ui.table th.dt-center,
455493
table.dataTable.ui.table td.dt-center {
456494
text-align: center;
@@ -469,6 +507,12 @@ table.dataTable.ui.table th.dt-justify,
469507
table.dataTable.ui.table td.dt-justify {
470508
text-align: justify;
471509
}
510+
table.dataTable.ui.table th.dt-justify div.dt-column-header,
511+
table.dataTable.ui.table th.dt-justify div.dt-column-footer,
512+
table.dataTable.ui.table td.dt-justify div.dt-column-header,
513+
table.dataTable.ui.table td.dt-justify div.dt-column-footer {
514+
flex-direction: row;
515+
}
472516
table.dataTable.ui.table th.dt-nowrap,
473517
table.dataTable.ui.table td.dt-nowrap {
474518
white-space: nowrap;
@@ -490,6 +534,16 @@ table.dataTable.ui.table tfoot th.dt-head-left,
490534
table.dataTable.ui.table tfoot td.dt-head-left {
491535
text-align: left;
492536
}
537+
table.dataTable.ui.table thead th.dt-head-left div.dt-column-header,
538+
table.dataTable.ui.table thead th.dt-head-left div.dt-column-footer,
539+
table.dataTable.ui.table thead td.dt-head-left div.dt-column-header,
540+
table.dataTable.ui.table thead td.dt-head-left div.dt-column-footer,
541+
table.dataTable.ui.table tfoot th.dt-head-left div.dt-column-header,
542+
table.dataTable.ui.table tfoot th.dt-head-left div.dt-column-footer,
543+
table.dataTable.ui.table tfoot td.dt-head-left div.dt-column-header,
544+
table.dataTable.ui.table tfoot td.dt-head-left div.dt-column-footer {
545+
flex-direction: row;
546+
}
493547
table.dataTable.ui.table thead th.dt-head-center,
494548
table.dataTable.ui.table thead td.dt-head-center,
495549
table.dataTable.ui.table tfoot th.dt-head-center,
@@ -518,6 +572,16 @@ table.dataTable.ui.table tfoot th.dt-head-justify,
518572
table.dataTable.ui.table tfoot td.dt-head-justify {
519573
text-align: justify;
520574
}
575+
table.dataTable.ui.table thead th.dt-head-justify div.dt-column-header,
576+
table.dataTable.ui.table thead th.dt-head-justify div.dt-column-footer,
577+
table.dataTable.ui.table thead td.dt-head-justify div.dt-column-header,
578+
table.dataTable.ui.table thead td.dt-head-justify div.dt-column-footer,
579+
table.dataTable.ui.table tfoot th.dt-head-justify div.dt-column-header,
580+
table.dataTable.ui.table tfoot th.dt-head-justify div.dt-column-footer,
581+
table.dataTable.ui.table tfoot td.dt-head-justify div.dt-column-header,
582+
table.dataTable.ui.table tfoot td.dt-head-justify div.dt-column-footer {
583+
flex-direction: row;
584+
}
521585
table.dataTable.ui.table thead th.dt-head-nowrap,
522586
table.dataTable.ui.table thead td.dt-head-nowrap,
523587
table.dataTable.ui.table tfoot th.dt-head-nowrap,

0 commit comments

Comments
 (0)