If there is both an input-group-prepend and input-group-append in an input group, the form control incorrectly renders borders on both sides. This PR solves this by attaching the border removal to :first-of-type and :last-of-type instead of :first-child and :last-child respectively.
Hi, @e3b0c442! Thank you for using our products and for your fix. We will check this and if everything it's ok we will merge the pull request and also we will put this in the next update.
If there is both an
input-group-prepend
andinput-group-append
in an input group, the form control incorrectly renders borders on both sides. This PR solves this by attaching the border removal to:first-of-type
and:last-of-type
instead of:first-child
and:last-child
respectively.