title: Column alignment in HTML Grid
body: <p>I am attempting to align the column headers on my grid with the data in my grid.  I don't quite understand why the grid column sizes differ even though they use the same css class:  Can someone please give me a hand:</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>.outer {
    width: 60%;
    height: 300px;
  }
  
  .panel {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
  }
  
  .gridpanel {
    display: grid;
    width: 100%;
    grid-gap: 0.5em 0.6em;
    padding: 2px 5px;
    box-sizing: border-box;
    grid-template-columns: 1fr 2fr 0.5fr;
  }
  
  .header {
    background-color: dodgerblue;
    border-bottom: 1px solid blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class=outer&gt;
    &lt;div class=panel&gt;
      &lt;div class="gridpanel header"&gt;
        &lt;div&gt; Telephone Type&lt;/div&gt;
        &lt;div&gt; Telephone Number&lt;/div&gt;
        &lt;div&gt; Action&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="gridpanel"&gt;
        &lt;input type="text" autofocus /&gt;
        &lt;input type="text" autofocus /&gt;
        &lt;button&gt;Delete&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>The fiddle is here: <a href="https://jsfiddle.net/btyrx4wo/5/" rel="nofollow noreferrer">https://jsfiddle.net/btyrx4wo/5/</a></p>