title: Bootstrap 4 .table-responsive class won't take 100% width
body: <p>I got 2 tables with same HTML and both declared as: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet"/&gt;
  
  &lt;div class="container"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-12 col-md-6"&gt;
        &lt;div class="card"&gt;
          &lt;div class="card-body"&gt;
            &lt;table class="table table-sm table-hover table-responsive"&gt;
                &lt;thead&gt;
                    &lt;tr&gt;
                        &lt;th&gt;Item 01&lt;/th&gt;
                        &lt;th&gt;Item 02&lt;/th&gt;
                    &lt;/tr&gt;
                &lt;/thead&gt;
                &lt;tbody&gt;
                    &lt;tr&gt;
                        &lt;td&gt;Item 01&lt;/td&gt;
                        &lt;td&gt;Item 02&lt;/td&gt;
                    &lt;/tr&gt;
                &lt;/tbody&gt;
            &lt;/table&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And this is what I got on my screen:</p>
  
  <p><a href="https://i.stack.imgur.com/qQAfg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qQAfg.png" alt="Check this picture"></a></p>
  
  <p>The second and consecutive tables declared with the same HTML don't get 100% width on <code>thead</code> and <code>tbody</code>...
  What is wrong here?</p>
  
  <p>UPDATE:</p>
  
  <p>My first table was working because of the content of the last line, it was long enough to make it fit 100% on my card div.</p>
  
  <p>Actually  <a href="https://github.com/twbs/bootstrap/issues/21577" rel="nofollow noreferrer">it's a issue on Bootstrap 4</a>, so the -2 reputation on this question are invalid. Thanks.</p>