change size of textarea to adapt to content code example
Example: textarea scale to content
<textarea rows="10" style="font-size: 2vw; width:100%;"></textarea>
<textarea rows="10" style="font-size: 2vw; width:100%;"></textarea>