datalist option width smaller than input width when px more than 600px. How do I fix it dynamically on chrome datalist option width smaller than input width when px more than 600px. How do I fix it dynamically on chrome flask flask

datalist option width smaller than input width when px more than 600px. How do I fix it dynamically on chrome


Ok now that I finally know what you wanted, here is your code:

<input style = "width:200px; height:30px;" list="colors_data"><datalist id="colors_data"><option value="red">The color of apple</option><option value="orange">The color of sun</option><option value="green">The color of grass</option><option value="blue">The color of the sky</option></datalist>