input padding cutting out text in firefox

前端 未结 2 511
孤街浪徒
孤街浪徒 2021-01-01 16:54

In firefox when I use a bootstrap form-control input element, if I pad the input element it cuts out the text by padding inwards rather than around the text. It only seems t

2条回答
  •  再見小時候
    2021-01-01 17:41

    The Bootstrap form-control class gets a fixed height by default. Just add a height: auto; to your .join-form selector(to keep flexibility), and change the padding to get the original effect, like this padding: 14px 20px;

    See here: http://jsfiddle.net/x78Bh/

提交回复
热议问题