I am in the process of transitioning a codebase from Bootstrap 3 to Bootstrap 4.
In our custom CSS, we have applied a unique border-width to the .form-control
class.
Let's say, for example, that the border-width is set to 4px for demonstration purposes.
.form-control {
border-width: 4px;
}
Due to this customization, the input
and select
fields end up with different "heights."
To see an illustration of this issue, take a look at this Codepen (tested on the latest version of Firefox):
https://codepen.io/anon/pen/ZRprmG
How can I adjust the styling of select
form controls so that they have the same border size and height as the input
fields? Edit: Bonus What might be causing this discrepancy?