Prechádzať zdrojové kódy

Fix z-index for modals

Select2 did not previously have a high enough `z-index` for it to
be displayed over modals. The `z-index` has been raised to 1051,
so now it should appear over the jQuery UI and Bootstrap modals.

This closes https://github.com/select2/select2/issues/2958.
Kevin Brown 10 rokov pred
rodič
commit
000653498f

+ 1 - 1
dist/css/select2.css

@@ -48,7 +48,7 @@
   position: absolute;
   left: -100000px;
   width: 100%;
-  z-index: 100; }
+  z-index: 1051; }
 
 .select2-results {
   display: block; }

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/css/select2.min.css


+ 1 - 1
src/scss/_dropdown.scss

@@ -13,7 +13,7 @@
 
   width: 100%;
 
-  z-index: 100;
+  z-index: 1051;
 }
 
 .select2-results {

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov