Skip to content

Commit

Permalink
Update _dropdown.scss
Browse files Browse the repository at this point in the history
Fixes #49 .

As the new z-index default in Bootstrap5 for a modal is 1055 (instead of 1050), the z-index for the dropdown should be 1056 (instead of 1051). Currently this default 1051 value is handled in the select2 main repository (https://github.com/select2/select2/blob/develop/src/scss/_dropdown.scss), which shouldn't change to stay compatible with Bootstrap4. Hence that PR in this project.
  • Loading branch information
Pixelshaped committed Sep 20, 2021
1 parent d63866a commit 4569c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_dropdown.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.select2-container--bootstrap-5 {
// Dropdown
.select2-dropdown {
z-index: 1056;
border-color: $s2bs5-border-color;
@include border-radius($s2bs5-border-radius);

Expand Down

0 comments on commit 4569c27

Please sign in to comment.