Input groups bigger than input in Bootstrap 3 using Jumbotron container

前端 未结 8 1910
后悔当初
后悔当初 2021-02-06 22:54

I\'m experimenting a strange behavior with Bootstrap 3 input groups. When I add an input-group-addon (text or icon) to a form inside a jumbotron, the input-group height is bigge

8条回答
  •  耶瑟儿~
    2021-02-06 23:46

    The bootstrap solution is to add the input-group-lg class on the containing

    - as shown in the documentation, but you'll notice the addon is still slightly larger than the input so you can just adjust the height of the to match; I added 5 px:

    http://jsfiddle.net/DTcHh/21/

提交回复
热议问题