From f17f7e04e9fa38b28b47434c29f9806353cdd03f Mon Sep 17 00:00:00 2001 From: Daniel Noel-Davies Date: Mon, 5 Jan 2015 12:57:42 +0000 Subject: [PATCH] Added support for bootstrap input groups Previously didn't support input groups, but added the ability to use input groups in both directions. --- bootstrap-chosen.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bootstrap-chosen.less b/bootstrap-chosen.less index 51b32c9..7d6cf60 100644 --- a/bootstrap-chosen.less +++ b/bootstrap-chosen.less @@ -443,6 +443,21 @@ } } +.input-group { + .chosen-container:last-child { + .chosen-single, .chosen-default, .chosen-choices { + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; + } + } + .chosen-container:not(:last-child) { + .chosen-single, .chosen-default, .chosen-choices { + border-top-right-radius: 0px; + border-bottom-right-radius: 0px; + } + } +} + @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 2dppx) { .chosen-rtl .chosen-search input[type="text"], .chosen-container-single .chosen-single abbr,