Firefox line-height issue with input fields

后端 未结 7 852
天涯浪人
天涯浪人 2020-12-15 03:39

I have realized the problem before but I guess it didn\'t matter as much then as it did now.

What I discovered is that Firefox has a default line-height value of 1.2

7条回答
  •  青春惊慌失措
    2020-12-15 04:00

    Just give the wrapping form element the desired line height and at least all input fields of type="text" in Firefox will take that same line height. Submit buttons seem to behave differently though...

提交回复
热议问题