JSFiddle - React, Tailwind, and code Playground

HTML

<p>
    Hello
    <div id="image-wrapper">
        <img src="http://placehold.it/300x150">
    </div>
    World
</p>
<hr/>

CSS

/* Don't worry about this code. It is just for testing. */
body {
    margin: 0
}
p {
    margin: 0;
}
hr {
    margin: 0;
    border-color: black;
    border-style: solid;
    border-width: 5px;
}

/* This is the code you need to add to your style. */
#image-wrapper {
    line-height: 0;
}