title: button taking height of the flexbox div
body: <p>In the following image, the button is taking the height of the flexbox? Why? I want it to be a regular button bottom-aligned with the image on the left (the white square).</p>
  
  <p><a href="https://i.stack.imgur.com/l9TuS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l9TuS.png" alt="enter image description here"></a></p>
  
  <p>index.css</p>
  
  <pre><code>.grid-container{
      display:grid;
      grid-template-rows:[nav-row-start]auto [nav-row-end logo-nav-row-start] auto [logo-nav-row-end content-row-start] auto [content-row-end];
  
  
  }
  
  .nav-style{
      height:5vh; /*make nav div take 5% of space of viewport*/
      background-color:black;
  
  }
  
  .logo-nav-style{
      height:20vh;/*make logo-nav div take 20% of space of viewport*/
      background-color:gray;
  }
  
  .nav-flexbox-container{
      display:flex;
      flex-direction:row-reverse;
  }
  
  .logo-nav-flexbox-container{
      display:flex;
  
  }
  .content-style{
      height:75vh;/*make content div take 75% of space of viewport*/
      background-color:white;
  }
  
  
  #nav{
      grid-row:nav-row-start/nav-row-end;
      margin:0px;
  }
  
  #logo-nav{
      grid-row:logo-nav-row-start/logo-nav-row-end;
      margin:0px;
  }
  
  #content{
      grid-row:body-row-start/body-row-end;
      margin:0px;
  }
  
  #profile-pic {
      margin:5px;
  }
  #mail-icon-pic{
      margin:5px;
  }
  #stats-icon-pic{
      margin:5px;
  }
  
  #logo-image{
      /*the max width and max height rule will make the image fit inside the div. If the image is bigger than div, the image will
      contract, if the image is smaller than the div, the image will expand*/
      max-width:100%;
      max-height:100%;
  }
  body{
      margin:0px;
  }
  </code></pre>
  
  <p>index.html</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link  rel="stylesheet" type="text/css" href="index.css"&gt;
  &lt;title&gt;Something&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="grid-container"&gt;
      &lt;div id="nav" class="nav-style nav-flexbox-container"&gt;
          &lt;img id="stats-icon-pic" src="stats_icon.png"&gt; 
          &lt;img id="mail-icon-pic" src="mail_icon.png"&gt; 
      &lt;/div&gt;
      &lt;div id="logo-nav" class="logo-nav-style logo-nav-flexbox-container"&gt;
          &lt;img id="logo-image" src="example_logo.png"&gt;
          &lt;button type="button"&gt;Questions&lt;/button&gt;
      &lt;/div&gt;
      &lt;div id="content" class="content-style"&gt;body&lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>