JSFiddle - React, Tailwind, and code Playground

HTML

<div class="col1">
<p>image<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1</p>
</div>
<div class="col2"> 
    <p>textkshjflkd sjfk ljlfl  kjkfldj kjdlfkjd lfkjdslkfjlk fjk dslfjsdlkfj dlkfjdlksfjds kl fj d dslkdskldlk kdkd jds wdsjkdsl dsj d dkjhf. This is the text that doesn't have enough heiiiigggghhhttttt</p>
</div>
<div class="clear"</div>
<div class="col1">
<p>image<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1</p>
</div>
<div class="col2"> 
    <p>textkshjflkd sjfk ljlfl  kjkfldj kjdlfkjd lfkjdslkfjlk fjk dslfjsdlkfj dlkfjdlksfjds kl This text does have enough</p>
    </div>
    <div class="clear"></div>
    <div class="col1">
<p>image<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1<br/>1</p>
</div>
<div class="col2"> 
    <p>But it still takes up the same height as all the others but uses white space instead</p>
</div>

CSS

.col1 { float:left; width:167px; height:138px; margin-right:40px; overflow:hidden;}
.col2 { float:left; width:163px; height: 155px; margin-right:0px; overflow:hidden; margin-bottom:40px;}
.clear {clear:both;}