Input groups bigger than input in Bootstrap 3 using Jumbotron container

前端 未结 8 1804
后悔当初
后悔当初 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:35

    I have just run across the same issue.

    I fixed by modifying adrift's answer to :

    field1

    And then adding the following CSS

    .input-group-fix > .form-control, .input-group-fix > .input-group-addon, .input-group-fix > .input-group-btn > .btn {
        height: 43px;
    }
    

    This gives me greater control on where I want to apply it.

提交回复
热议问题