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:
parent
65ff76c543
commit
000653498f
2
dist/css/select2.css
vendored
2
dist/css/select2.css
vendored
@ -48,7 +48,7 @@
|
||||
position: absolute;
|
||||
left: -100000px;
|
||||
width: 100%;
|
||||
z-index: 100; }
|
||||
z-index: 1051; }
|
||||
|
||||
.select2-results {
|
||||
display: block; }
|
||||
|
2
dist/css/select2.min.css
vendored
2
dist/css/select2.min.css
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
||||
|
||||
width: 100%;
|
||||
|
||||
z-index: 100;
|
||||
z-index: 1051;
|
||||
}
|
||||
|
||||
.select2-results {
|
||||
|
Loading…
x
Reference in New Issue
Block a user