Created by: MartijnCuppens
Input heights were initially added in https://github.com/twbs/bootstrap/pull/26820 to fix https://github.com/twbs/bootstrap/issues/18842. Select heights were added to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1560824.
But:
- The additional height in https://github.com/twbs/bootstrap/pull/26820 was caused by pseudo elements, something I fixed in https://github.com/twbs/bootstrap/pull/30269.
- In the meantime the select issue in FF is changed when you explicitly set the line height (https://bugzilla.mozilla.org/show_bug.cgi?id=1560824#c14), making setting the height redundant
However, removing the explicit height would reintroduce https://github.com/twbs/bootstrap/issues/23307. Luckily, date inputs have a ::-webkit-datetime-edit
of which we can set the height in em
This means, we can safely remove those (min-)heights that seem to cause some issues like https://github.com/twbs/bootstrap/pull/26820#issuecomment-565485267 or https://github.com/twbs/bootstrap/pull/31955#issuecomment-716101054 (this fixes issues when zoomed in/out)
I've kept a min-height for textareas, to keep support for https://github.com/twbs/bootstrap/pull/29124
I didn't apply this change to .form-file
, since this will introduce conflicts with https://github.com/twbs/bootstrap/pull/31955, therefor I'll keep this in draft.