JSFiddle - React, Tailwind, and code Playground
HTML
<div style="height:100px; overflow: scroll">
<form>
<table>
<tr>
<td>
<div style="height: 220px;">
<input type="text" disabled="disabled" readonly="readonly" value="Text"/>
</div>
</td>
</tr>
<tr>
<td>
<span>
<input type="button" value="text"/>
</span>
</td>
</tr>
</table>
</form>
</div>
JavaScript
$("input[type='submit']").button();
$("input[type='button']").button();