JSFiddle - React, Tailwind, and code Playground

HTML

<label>
    Without line-height applied
    <input type="text" placeholder="This is some placeholder text" />
</label>
<label>
    With line-height applied
    <input class="with" type="text" placeholder="This is some placeholder text" />
</label>

CSS

body {
    font-family: Helvetica, arial, sans-serif;
}

label {
    display: block;
    clear: both;
    margin: 20px;
    font-size: 12px;
}

input {
    height: 40px;
    width: 200px;
    padding: 0;
    
    display: block;
    margin-top: 10px;
}
input.with {
    line-height: 40px; 
}