title: flex-direction: row is not working; it's still displaying as a column
body: <p>I have a nav bar that I want to display as a column on small screens and as a row on desktop screen sizes. My problem is that I do not know why &quot;flex-direction: row;&quot; won't change the nav bar to fit side by side.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.top-nav li {
    list-style-type: none;
    font-size: 22px;
    border: 2px solid #333;
    width: 80%;
    padding: 0;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 2px 2px 2px #333;
  }
  .top-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .top-nav ul {
    padding: 0;
    margin: 0;
  }
  @media (min-width: 750px) {
    /* top nav */
    .top-nav {
      flex-direction: row;
    }
    .top-nav li {
      margin: 0;
      width: auto;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="top-nav"&gt;
    &lt;nav&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a&gt;Home&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a&gt;Category&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a&gt;Recent&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a&gt;All recipes&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/nav&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>