diff --git a/src/less/header.less b/src/less/header.less index 94e85589c1..07b80c936b 100644 --- a/src/less/header.less +++ b/src/less/header.less @@ -79,6 +79,11 @@ .sortable { cursor: pointer; } + + // Moves the sort priority number closer to the icon + .ui-grid-sort-priority-number { + margin-left: -8px; + } } // Make vertical bar in header row fill the height of the cell completely diff --git a/src/templates/ui-grid/uiGridHeaderCell.html b/src/templates/ui-grid/uiGridHeaderCell.html index 358d506ce2..d682b2e2c3 100644 --- a/src/templates/ui-grid/uiGridHeaderCell.html +++ b/src/templates/ui-grid/uiGridHeaderCell.html @@ -22,8 +22,11 @@ ng-class="{ 'ui-grid-icon-up-dir': col.sort.direction == asc, 'ui-grid-icon-down-dir': col.sort.direction == desc, 'ui-grid-icon-blank': !col.sort.direction }" title="{{col.sort.priority ? i18n.headerCell.priority + ' ' + col.sort.priority : null}}" aria-hidden="true"> -   + + {{col.sort.priority + 1}} +