1
0
mirror of synced 2025-02-04 06:09:23 +03:00

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.
This commit is contained in:
Kevin Brown 2015-01-27 14:27:18 -05:00
parent 65ff76c543
commit 000653498f
3 changed files with 3 additions and 3 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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