瀏覽代碼

hide the x when the single select is disabled. fixes #401

Igor Vaynberg 12 年之前
父節點
當前提交
7ee6446bc5
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      select2.css

+ 4 - 0
select2.css

@@ -359,6 +359,10 @@ disabled look for already selected choices in the results dropdown
     border-left: 0;
 }
 
+.select2-container.select2-container-disabled .select2-choice abbr {
+    display: none
+}
+
 
 /* multiselect */