My problem is the text box height is changed when I key in the text/value inside the text box. And I don't want to. Here is my code
<div class="twoColumnsSettings">
<div>
<label>Voltage</label><br>
<input class="textBox" type="text" value="6.00" />
</div>
<div>
<label>Voltage Limit</label><br>
<input class="textBox" type="text" value="6.00" />
</div>
<div>
<label>Current</label><br>
<input class="textBox" type="text" value="6.00" />
</div>
<div>
<label>Current Limit</label><br>
<input class="textBox" type="text" value="6.00" />
</div>
</div>
.twoColumnsSettings {
display: grid;
grid-row-gap: 8%;
grid-template-columns: 50% 50%;
width: 80%;
margin: 0 auto;
padding-left: 5%;
text-align: left;
}
.textBox {
width: 87.5%;
height: 100%;
font-size: 1.8vw;
}
.dropDownbox {
width: 87.5%;
}
I set the height/Width in % is I want the size changes when the window/app size is changing.