Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 66bf8b5

Browse files
committed
Fix z-index issue introduced by the append-to-body support … #745
1 parent 7e390a1 commit 66bf8b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
display:none;
3737
}
3838

39-
body > .select2-container {
39+
body > .select2-container.open {
4040
z-index: 9999; /* The z-index Select2 applies to the select2-drop */
4141
}
4242

@@ -120,7 +120,7 @@ body > .select2-container {
120120
margin-top: -1px;
121121
}
122122

123-
body > .ui-select-bootstrap {
123+
body > .ui-select-bootstrap.open {
124124
z-index: 1000; /* Standard Bootstrap dropdown z-index */
125125
}
126126

0 commit comments

Comments
 (0)