Skip to content
This repository has been archived by the owner on Oct 27, 2018. It is now read-only.

Commit

Permalink
Added support for bootstrap input groups
Browse files Browse the repository at this point in the history
Previously didn't support input groups, but added the ability to use input groups in both directions.
  • Loading branch information
NoelDavies committed Jan 5, 2015
1 parent 61ed407 commit f17f7e0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bootstrap-chosen.less
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f17f7e0

Please sign in to comment.