diff --git a/dist/scss/_select2.scss b/dist/scss/_select2.scss index 5a69341af..ed0b92c98 100644 --- a/dist/scss/_select2.scss +++ b/dist/scss/_select2.scss @@ -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; + } + } } diff --git a/src/scss/_select2.scss b/src/scss/_select2.scss index 5a69341af..ed0b92c98 100644 --- a/src/scss/_select2.scss +++ b/src/scss/_select2.scss @@ -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; + } + } }