Skip to content

Commit

Permalink
Merge pull request #404 from datavisyn/thinkh/382_fix-select2-placeho…
Browse files Browse the repository at this point in the history
…lder-revisited

Re-add missing select2 placeholder of PR #382
  • Loading branch information
dg-datavisyn authored Jul 29, 2020
2 parents b26d93a + e0e0bb2 commit 39f21d0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dist/scss/_select2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@
.select2-dropdown {
z-index: 2051;
}

// fix select2 placeholder cut-off from https://github.com/select2/select2/pull/4898#issuecomment-408568031
.select2-container .select2-selection__rendered > *:first-child.select2-search--inline {
width: 100% !important;

.select2-search__field {
width: 100% !important;
}
}
}
9 changes: 9 additions & 0 deletions src/scss/_select2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@
.select2-dropdown {
z-index: 2051;
}

// fix select2 placeholder cut-off from https://github.com/select2/select2/pull/4898#issuecomment-408568031
.select2-container .select2-selection__rendered > *:first-child.select2-search--inline {
width: 100% !important;

.select2-search__field {
width: 100% !important;
}
}
}

0 comments on commit 39f21d0

Please sign in to comment.