tablesorter: be more specific about reserving space for header cells
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Fri, 11 May 2018 15:21:53 +0000 (17:21 +0200)
committerJforrester <jforrester@wikimedia.org>
Fri, 11 May 2018 16:49:17 +0000 (16:49 +0000)
They should not be on:
 - unsortable cells
 - tfoot cells
 - descendents cells created by sub tables
Follow up to: If9c8f0974e3a4b08e4a66d37f7f5adf67d73054e

Bug: T194451
Change-Id: I666f66733c2c8c25d3b9e649f4c30864b50a8311

resources/src/jquery/jquery.tablesorter.styles.less

index bd6b5dd..eda939d 100644 (file)
@@ -1,6 +1,6 @@
 .client-js {
        // Reserve space for table sortable controls
-       table.sortable th {
+       table.sortable > thead > tr > th:not( .unsortable ) {
                padding-right: 21px;
        }
 }