From 43d02eac54875065e1b9b0e2cf1553cc9257bd0e Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 6 May 2015 15:41:44 -0400 Subject: [PATCH] #2001 actually fix icon and positioning --- src/definitions/collections/table.less | 15 ++++++++------- src/themes/default/collections/table.variables | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/definitions/collections/table.less b/src/definitions/collections/table.less index b54860b8b..d28a0bf95 100755 --- a/src/definitions/collections/table.less +++ b/src/definitions/collections/table.less @@ -791,18 +791,16 @@ } .ui.sortable.table thead th:after { - display: inline-block; + display: none; + font-style: normal; + font-weight: normal; + text-decoration: inherit; content: ''; - width: @sortableIconWidth; height: 1em; + width: @sortableIconWidth; opacity: @sortableIconOpacity; - margin: 0em 0em 0em @sortableIconDistance; - font-family: @sortableIconFont; - font-style: normal; - font-weight: normal; - text-decoration: inherit; } .ui.sortable.table thead th.ascending:after { content: @sortableIconAscending; @@ -826,6 +824,9 @@ background: @sortableActiveBackground; color: @sortableActiveColor; } +.ui.sortable.table thead th.sorted:after { + display: inline-block; +} /* Sorted Hover */ .ui.sortable.table thead th.sorted:hover { diff --git a/src/themes/default/collections/table.variables b/src/themes/default/collections/table.variables index 6394393e9..e306de2ae 100644 --- a/src/themes/default/collections/table.variables +++ b/src/themes/default/collections/table.variables @@ -160,8 +160,8 @@ @sortableIconDistance: 0.5em; @sortableIconOpacity: 0.8; @sortableIconFont: 'Icons'; -@sortableIconAscending: '\f0d7'; -@sortableIconDescending: '\f0d8'; +@sortableIconAscending: '\f0d8'; +@sortableIconDescending: '\f0d7'; @sortableDisabledColor: @disabledTextColor; @sortableHoverBackground: @transparentBlack;