JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<img src="https://images-na.ssl-images-amazon.com/images/M/MV5BMzg2Mjg1OTk0NF5BMl5BanBnXkFtZTcwMjQ4MTA3Mw@@._V1_SX300.jpg" id="img">
<div class="text">
<h2>Example</h2>
<p>Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example Example </p>
<p>Example Example</p>
<p>Length: 111 min</p>
<p>Example Example Example </p>
<p>Example Example Example Example Example Example Example Example Example Example Example </p>
</div>

CSS

img {
  float: left;
}

JavaScript

$("#img").css("height", $(".text").height());