From 2dc46c4bfa3d40478056d4897f97fba641a46693 Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Mon, 26 Mar 2012 23:52:31 -0700 Subject: [PATCH] move the [x] icon back to the right in single selection mode. issue #3 --- select2.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/select2.css b/select2.css index ad3eb599..b35796f4 100755 --- a/select2.css +++ b/select2.css @@ -335,16 +335,23 @@ .select2-container-multi .select2-choices .select2-search-choice-focus { background: #d4d4d4; } + .select2-search-choice-close { display: block; position: absolute; - left: 3px; + right: 3px; top: 4px; width: 12px; height: 13px; font-size: 1px; 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 { background-position: right -11px; }