title: Does changing the width property effect the grid text overflow?
body: <p>I have a html document, and  inside I have an element, lets call it <code>myElement</code> now <code>myElement</code>has <code>display: grid</code> set. <code>myElement</code> also has <code>width: 60%</code>, this width property seems to be changing how the text overflow is working on its child grid  elements - the text is going out of the grid's 60% width. Is there a workaround so that the text overflow will still work properly or do I just have to deal with the grid being 100% of its space?</p>
  
  <p>Here is the code snippet(not great representation)</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>#events-grid {
      background-color: #14ffec;
      display: grid;
      font-size: 20px;
      grid-gap: 20px;
      grid-template-columns: repeat(10, 1fr);
      margin: 0 20%;
      padding: 20px;
      width: 60%;
  }
  
  .event {
       grid-column: 1/3;
   }
  
  .dates {
       grid-column: 3/4;
  }
  
  .summary-event {
      grid-column: 4/9;
  }
  
  .source-event {
       grid-column: 9/11;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="events-grid"&gt;
      &lt;span class="event"&gt;Random Event&lt;/span&gt;
      &lt;span class="dates"&gt;Random Date&lt;/span&gt;
      &lt;span class="summary-event"&gt;Random text about the event that means nothing&lt;/span&gt;
      &lt;span class="source-event"&gt;Lorem ipsum dolor sit amet.&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is the picture (the blue is the 60% grid the gray is the background, and the text is just random - replacing a link)</p>
  
  <p><a href="https://i.stack.imgur.com/ZZgVF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZZgVF.png" alt="enter image description here"></a></p>
  
  <p>I think it has to do with there being no spaces, because when I add spaces (to the source-event) it overflows perfectly:</p>
  
  <p><a href="https://i.stack.imgur.com/Ekhsz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ekhsz.png" alt="enter image description here"></a></p>