title: Problem with behavior of DIV FLEX on iPad
body: <p>I keep facing a strange problem on my website when it is displayed on an iPad (phone, etc works fine, also no problems on devtool responsive mode ).</p>
  <p><a href="http://mardeipoeti.com/#sicily" rel="nofollow noreferrer">Here is the problem on my live site</a></p>
  <p>I have 3 images displayed inside a flex div, the height of the div is not set and it adapts depending on the width of the images ( 32 % ). It's okay on any device, but on iPad it get stretched. I'm having trouble finding where the problem is. ( BTW how do you debug on iPad ? )</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.sicily_pics {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    height: fit-content;
  }
  
  .sicily_pics img {
    width: 32%;
    margin-right: 2%;
    height: auto;
  }
  
  .sicily_pics img:last-child {
    margin-right: 0%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="sicily_pics"&gt;
    &lt;img src="https://via.placeholder.com/375x500" alt="Greek Theater in Taormina"&gt;
    &lt;img src="https://via.placeholder.com/375x500" alt="Isola Bella"&gt;
    &lt;img src="https://via.placeholder.com/375x500" alt="Mount Etna"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p><a href="https://i.stack.imgur.com/q4ZtH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q4ZtH.png" alt="enter image description here" /></a></p>