I have the following html/css:
.grid {
display: grid;
background: pink;
width: 500px;
}
.grid {
grid-template-columns: 1fr 2fr;
}
<div class="grid">
<div>
<select name="" id="">
<option value="">select asd asda sdasd a sdas das dsdas das dasd</option>
</select>
</div>
<input type="text">
</div>
When The option value "select asd..." is short the design is correct - the select is 1fraction and the input is 2 fractions (as specified in style).
If the text is large (as above) the select became bigger and I cannot rely on css grid.
Is this a bug with css grid, and how can I fix it.
Thanks