title: Flexbox not vertically centering inline-block spans
body: <p>I have a dashboard I am setting up that has wrapper blocks with a sprite icon that should be centered vertically and horizontally inside its parent.</p>
  
  <p>I got the blocks to be placed how I want and wrapping how I want using flexbox.</p>
  
  <p>I also have the icon centered horizontally using the <code>text-align</code> property, but for some reason <code>justify-content: center</code> doesn't do anything when I add it to the <code>.view</code> or <code>.sprite-icon</code> elements; adding it to the <code>.views</code> element also doesn't center things how I want and it breaks the padding between the <code>.view</code> blocks.</p>
  
  <p>See my JSFiddle I set up showing the issue here: <a href="https://jsfiddle.net/efarley/k0m4nxny/" rel="nofollow">https://jsfiddle.net/efarley/k0m4nxny/</a></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>.views {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .view {
    height: 105px;
    text-align: center;
    width: 105px;
  }
  .sprite-icon {
    background-image: url('http://67.media.tumblr.com/b2336d673e315081b6d657f8258c313d/tumblr_mv98xzSiJu1qhori9o1_500.jpg');
    display: inline-block;
    height: 35px;
    width: 35px;
  }
  .sprite-icon.one {
    background-position: 0 0;
  }
  .sprite-icon.two {
    background-position: 0 35px;
  }
  .sprite-icon.three {
    background-position: 0 70px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='views'&gt;
    &lt;div class='view'&gt;
      &lt;span class='sprite-icon one'&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class='view'&gt;
      &lt;span class='sprite-icon two'&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;div class='view'&gt;
      &lt;span class='sprite-icon three'&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>