title: CSS flex wrap but no wrap
body: <p>I'm running into an issue with flex-wrap. Where I need <code>flex-wrap: wrap</code> to take care that images wrap and don't run out of the container. I don't need wrap for a link. See my issue below, also my code is included in the post.</p>
  
  <p><a href="https://i.stack.imgur.com/ZmZu7.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZmZu7.gif" alt="enter image description here"></a></p>
  
  <p><a href="https://jsfiddle.net/8gqxpj15/18/" rel="nofollow noreferrer">JSFiddle</a></p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="box"&gt;
    &lt;div class="image"&gt;
      &lt;a href="#"&gt;&lt;img src="https://dummyimage.com/80x80/000/fff"&gt;&lt;/a&gt;
      &lt;a href="#"&gt;&lt;img src="https://dummyimage.com/80x80/000/fff"&gt;&lt;/a&gt;
      &lt;a href="#"&gt;&lt;img src="https://dummyimage.com/80x80/000/fff"&gt;&lt;/a&gt;
      &lt;a href="#"&gt;&lt;img src="https://dummyimage.com/80x80/000/fff"&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="tools"&gt;
      &lt;a href="#"&gt;View details&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="box"&gt;
    &lt;div class="image"&gt;
      &lt;a href="#"&gt;&lt;img src="https://dummyimage.com/80x80/000/fff"&gt;&lt;/a&gt;
      &lt;a href="#"&gt;Lorem ipsum dolor sit amet, consectetur adipisicing dolor sit amet, consectetur.&lt;/a&gt;
    &lt;/div&gt;
    &lt;div class="tools"&gt;
      &lt;a href="#"&gt;View details&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>SCSS</p>
  
  <pre><code>.box {
    border: 1px solid gray;
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    &amp;:after {
      content: "";
      display: table;
      clear: both;
    }
    .image {
      float: left;
      width: 60%;
      border-right: 1px solid gray;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      padding: 5px;
      a {
        text-decoration: none;
        &amp;:not(:last-of-type) {
          margin-right: 5px;
        }
      }
    }
    .tools {
      float: left;
      width: 40%;
      padding: 5px;
    }
  }
  </code></pre>