title: How do I make flex items shrink to their smallest fitting size, but the same size?
body: <p>I'm trying to make a row of buttons, where the buttons will be the same size, but as small as possible - so each being the same size as the largest button.</p>
  
  <p>How can I do this? </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>div {
    border: solid 1px black;
    margin: 5px;
    padding: 5px;
    background-color: #fff;
  }
  .container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
  }
  .item {
    background-color: #eef;
    flex: 0 1 auto;
    white-space: nowrap;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="item"&gt;this one is quite long&lt;/div&gt;
    &lt;div class="item"&gt;short&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>