I have this simple example:
.container {
display: flex;
background-color: #ddd;
align-items: stretch;
}
.logo {}
.text {
font-size: 300%;
}
<div class="container">
<div class="logo"><img src="https://via.placeholder.com/103x121.png/ff0" alt="test logo"></div>
<div class="text">TEXT</div>
</div>
I need image to get same height as sibling div on right side not vv, i.e. shrink image to actual text height and keep aspect ratio.