JSFiddle - React, Tailwind, and code Playground

HTML

<div class="parent">
<div class="img">
    <img src="http://example.com.img1.png" />
</div>
<div class="text">
Some Text Some .
</div>
</div>

<div class="parent">
<div class="img">
    <img src="http://example.com.img1.png" />
</div>
<div class="text">
Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text Some Text.
</div>
</div>

CSS

div.parent{ 
    border:solid black 1px;
    display:table;
    padding:5px; 
    width:100%;
    margin:5px 0; /* you can change/remove margin */
}
div.text{ 
    
    vertical-align:middle;
    display:table-cell;
    text-align:justify;
}
div.parent .img{
    vertical-align:middle;
    display:table-cell;
    padding-right:5px;
    width:50px; /* you can change width */
}
div.img img{ 
    width:100%;
    height:50px; /* you can change height */
    vertical-align:middle;
}