I would like to force an image to match the dimensions of a parent div with no overflow.
https://play.tailwindcss.com/Ul6j6jBG5o?layout=horizontal
<div class="flex flex-col max-h-screen">
<div class="flex flex-1">
<div class="flex w-1/2 max-h-full">
<img src="image.jpg" class="max-h-full object-cover overflow-hidden" />
</div>
<div class=""><p>Column Two</p></div>
</div>
</div>
I would like for the image to match both the width and height of the flexbox (e.g. No scrolling) Is there a way to acheive this?