Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

fix(spinner-class): add glyphicon to default spinner class, update css #1894

Merged
merged 2 commits into from
Mar 7, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -317,17 +317,10 @@ body > .ui-select-bootstrap.open {
}

/* Spinner */
.ui-select-refreshing {
.ui-select-refreshing.glyphicon {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the ui-select-refreshing.glyphicon be as one selector?

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 {
Expand Down
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down