Input groups bigger than input in Bootstrap 3 using Jumbotron container

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

    I had the same issue with bootstrap 4. Then I realized my css had following setup for span tags:

     span {
                width: 100px;
                height: 100px;
                display: inline-block;
                background: #0c5460;
            }
    

    Hence all my spans were big. Once I removed it, all worked fine.

提交回复
热议问题