title: How can I prevent a 100vh image from expanding the viewpoint?
body: <p>For my <code>#l-splash</code> image, I'm having issues with the <code>height: 100vh</code> expanding past the viewpoint. </p>
  
  <p>I have tried changing the overflow and different max-heights. I want my width to take up 100% of the left grid so it exactly takes up half of the screen. I suspect the problem is how my nav bar is <em>stickied</em> but I ideally need it to continue sticking to the top of the screen. Thanks for the help</p>
  
  <p><a href="https://jsfiddle.net/mtgcosxd/1/" rel="nofollow noreferrer">https://jsfiddle.net/mtgcosxd/1/</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>header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background: #fffaf0;
    position: sticky;
    width: 100%;
    top: 0;
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Gotham-Light', gotham;*/
    font-weight: 300;
    font-size: 1vw;
  }
  
  body {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0px;
    margin: 0px;
    color: #fffaf0;
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
  }
  
  .nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0%;
    color: #80985d;
  }
  
  .navLink {
    padding: 0 10px;
    font-weight: 300;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
  }
  
  #logo {
    margin-top: 4px;
    margin-bottom: 4px;
    width: 4%;
    height: 4%;
    cursor: pointer;
  }
  
  .container {
    display: grid;
    grid-template-columns: [content] 1fr [images] 1fr
  }
  
  .content {
    grid-column: content;
    background: #2f6e84;
  }
  
  #l-splash {
    width: 100%;
    height: 100vh;
    overflow: auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="nav"&gt;
    &lt;header&gt;
      &lt;div class="navLink" id="story-scroll"&gt;Our Story&lt;/div&gt;
      &lt;div class="navLink" id="menu-scroll"&gt;Menu&lt;/div&gt;
      &lt;img src="https://placekitten.com/200/300" id="logo" lt="logo"&gt;
      &lt;div class="navLink" id="press-scroll"&gt;Press&lt;/div&gt;
      &lt;div class="navLink" id="contact-scroll"&gt;Contact&lt;/div&gt;
    &lt;/header&gt;
  &lt;/div&gt;
  
  &lt;div class="container"&gt;
  
    &lt;div class="content"&gt;
      &lt;div id="splash container"&gt;
        &lt;img id="l-splash" src="https://images.unsplash.com/photo-1526069631228-723c945bea6b?ixlib=rb-1.2.1&amp;ixid=eyJhcHBfaWQiOjEyMDd9&amp;auto=format&amp;fit=crop&amp;w=934&amp;q=80"&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>