title: why the content gets out with 100% width
body: <p>Why my <code>.topnav</code>, <code>.mainnav</code> and my <code>.content</code> divs the content escapes them?</p>
  
  <p>How can I make when I reach the page limit jump from line?</p>
  
  <p>They are already 100% width</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>* {
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
  }
  
  html,
  body {
    width: 100%;
    height: 100%;
  }
  
  .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    width: 100%;
    height: 100%;
    position: fixed;
  }
  
  .leftbar {
    background: #1D2126;
    height: 100%;
    width: 100%;
    grid-template-rows: 100px 1fr;
  }
  
  .rightbar {
    display: grid;
    grid-template-rows: 100px 1fr;
    width: calc(100%-280px);
    height: 100%;
    position: fixed;
    margin-left: 280px;
  }
  
  .header {
    display: grid;
    grid-template-rows: 30px 70px;
    width: 100%;
    height: 100%;
  }
  
  .topnav {
    background: #1A1E23;
  }
  
  .mainnav {
    background: #1D2126;
  }
  
  .content {
    background: #21252B;
    overflow-y: scroll;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="leftbar"&gt;
      &lt;div class="logo"&gt;&lt;img src="https://www.csgoroll.com/en/assets/logo.png" width="80%"&gt;&lt;/div&gt;
      &lt;div class="chat"&gt;
        &lt;div class="chatbox"&gt;
  
        &lt;/div&gt;
        &lt;div class="chatsend"&gt;
  
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="rightbar"&gt;
      &lt;div class="header"&gt;
        &lt;div class="topnav"&gt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;/div&gt;
        &lt;div class="mainnav"&gt;d&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="content"&gt;
        asdaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaassssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>