JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="inner">
<div class="row">
<img src="https://www.wired.com/wp-content/uploads/2015/11/google-tensor-flow-logo-F.jpg">
</div>
<div class="row">
<img src="https://www.wired.com/wp-content/uploads/2015/11/google-tensor-flow-logo-F.jpg">
</div>
</div>
</div>
CSS
.wrapper{
width: 600px;
height: 900px;
background: white;
}
.inner{
display: flex;
flex-direction: column;
}
.row{
max-height: 100px;
margin: 20px;
display: flex;
flex-direction: row;
background: red;
}
.row img{
max-height: 100%;
}