Typeahead.js interferes with Bootstrap input groups

后端 未结 5 2034
无人共我
无人共我 2021-02-03 23:27

How do I keep Typeahead.js from splitting up my Twitter Bootstrap 3 input groups? Whenever I point the Typeahead javascript at a text area that\'s part of an input group, the jo

5条回答
  •  有刺的猬
    2021-02-04 00:16

    This fixes the problem when the left-hand side of the text box is square (not rounded):

    .input-group .twitter-typeahead .form-control:not(:first-child):not(:last-child) {
      border-radius: 4px 0px 0px 4px;
    }
    

提交回复
热议问题