JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<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: 100%;
  height: 900px;
  background: white;
}
.inner{
  display: flex;
  flex-direction: column;
  flex-flow:column nowrap;
  justify-content:flex-start;
}
.row{
  max-height: 100px;
  margin: 20px;
  display: flex;
  flex-direction: row;
  background: red;
}
.row img{
  max-height: 100%;
  object-fit:contain;
}