1
0
mirror of synced 2025-02-16 20:13:16 +03:00

move the [x] icon back to the right in single selection mode. issue #3

This commit is contained in:
Igor Vaynberg 2012-03-26 23:52:31 -07:00
parent b18b9aecd8
commit 2dc46c4bfa

View File

@ -335,16 +335,23 @@
.select2-container-multi .select2-choices .select2-search-choice-focus { .select2-container-multi .select2-choices .select2-search-choice-focus {
background: #d4d4d4; background: #d4d4d4;
} }
.select2-search-choice-close { .select2-search-choice-close {
display: block; display: block;
position: absolute; position: absolute;
left: 3px; right: 3px;
top: 4px; top: 4px;
width: 12px; width: 12px;
height: 13px; height: 13px;
font-size: 1px; font-size: 1px;
background: url(select2.png) right top no-repeat; background: url(select2.png) right top no-repeat;
} }
.select2-container-multi .select2-search-choice-close {
left: 3px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover { .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
background-position: right -11px; background-position: right -11px;
} }