JSFiddle - React, Tailwind, and code Playground
HTML
<select name="select1" size="1" id="longSelect" style="background-color:#FFFFD7" onChange="displaydesc(document.form1.select1, thetext1, 'textcontainer1')">
CSS
select#longSelect {width:250px;}