From: Derk-Jan Hartman Date: Fri, 11 May 2018 15:21:53 +0000 (+0200) Subject: tablesorter: be more specific about reserving space for header cells X-Git-Tag: 1.34.0-rc.0~5380^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=1b14198df23ec26b44474e24621aeab276cbee5a;p=lhc%2Fweb%2Fwiklou.git tablesorter: be more specific about reserving space for header cells They should not be on: - unsortable cells - tfoot cells - descendents cells created by sub tables Follow up to: If9c8f0974e3a4b08e4a66d37f7f5adf67d73054e Bug: T194451 Change-Id: I666f66733c2c8c25d3b9e649f4c30864b50a8311 --- diff --git a/resources/src/jquery/jquery.tablesorter.styles.less b/resources/src/jquery/jquery.tablesorter.styles.less index bd6b5dd118..eda939d770 100644 --- a/resources/src/jquery/jquery.tablesorter.styles.less +++ b/resources/src/jquery/jquery.tablesorter.styles.less @@ -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; } }