Skip to content

Commit

Permalink
Add back select2 font-awesome close button
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Mar 30, 2017
1 parent d1c5f02 commit 33f3881
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/app/assets/stylesheets/spree/backend/plugins/_select2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@
}
}

.select2-container .select2-choice .select2-search-choice-close {
@extend .fa;
@extend .fa-times;
color: #333; /* matches bootstrap's custom-select arrow */

/* See https://github.com/solidusio/solidus/pull/1314 */
display: none;

/* Hide the default icon */
background-image: none;
}

.select2-container-active, .select2-dropdown-open {
.select2-choices.select2-choices, /* Needs extra specificity */
.select2-choice {
Expand Down

0 comments on commit 33f3881

Please sign in to comment.