Browse Source

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

Igor Vaynberg 12 năm trước cách đây
mục cha
commit
7ee6446bc5
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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 */