creativetimofficial / now-ui-kit

Now UI Kit Bootstrap 4 - Designed by Invision. Coded by Creative Tim
https://www.creative-tim.com/product/now-ui-kit
Other
1.7k stars 376 forks source link

Fix incorrect borders in input group #78

Closed e3b0c442 closed 5 years ago

e3b0c442 commented 6 years ago

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.

dragosct commented 6 years ago

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.

Regards, Dragos