JSFiddle - React, Tailwind, and code Playground

HTML

<div style="width: 160px; padding: 10px; background: blue;">
    <a href="#" style="background: red; display: block;">Test with a longwrappingword</a>
</div>
<span style="padding-left:130px">^ Where the element COULD end if it wanted to</span>