From c8f69dba1990093944c39324b7db425bcf18c84c Mon Sep 17 00:00:00 2001 From: Brian Chance Date: Wed, 25 Jan 2017 14:52:58 -0600 Subject: [PATCH] fix(spinner-class): add glyphicon to default spinner class, update css. Fixes #1893. --- src/common.css | 9 +-------- src/common.js | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/common.css b/src/common.css index 0b18b2572..aa2eb136d 100644 --- a/src/common.css +++ b/src/common.css @@ -317,17 +317,10 @@ body > .ui-select-bootstrap.open { } /* Spinner */ -.ui-select-refreshing { +.ui-select-refreshing.glyphicon { position: absolute; right: 0; padding: 8px 27px; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; - -webkit-font-smoothing:antialiased; } @-webkit-keyframes ui-select-spin { diff --git a/src/common.js b/src/common.js index ba7023424..454c426bc 100644 --- a/src/common.js +++ b/src/common.js @@ -108,7 +108,7 @@ var uis = angular.module('ui.select', []) }, appendToBody: false, spinnerEnabled: false, - spinnerClass: 'glyphicon-refresh ui-select-spin', + spinnerClass: 'glyphicon glyphicon-refresh ui-select-spin', backspaceReset: true })