JSFiddle - React, Tailwind, and code Playground
HTML
<button style="width:40px;"><div style="height: 100%">Some really long text that is more than 20px</div></button>
<button style="width:40px;"><div style="height: 100%">Some really long text that is more than 20px</div></button>