From 63a0d615915104f90d810ab4425a0682d4ac1892 Mon Sep 17 00:00:00 2001 From: Holger Stitz Date: Mon, 22 Jun 2020 11:26:56 +0200 Subject: [PATCH] Fix truncated select2 and select3 placholder Fixes #381 Solution from https://github.com/select2/select2/pull/4898#issuecomment-408568031 --- src/styles/_select2.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/styles/_select2.scss b/src/styles/_select2.scss index 5a69341af..ed0b92c98 100644 --- a/src/styles/_select2.scss +++ b/src/styles/_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; + } + } }