Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Herst edited this page Aug 18, 2019 · 2 revisions

E027

Bootstrap v0.x

.table-responsive is supposed to be used on the table's parent wrapper <div>, not on the table itself

Wrong:

<table class="table table-responsive">
  ...
</table>

Right:

<div class="table-responsive">
  <table class="table">
    ...
  </table>
</div>

More details: https://getbootstrap.com/docs/3.4/css/#tables-responsive

Bootstrap v1.x (Bootlint for Bootstrap v4 and newer)

.table-responsive* is supposed to be used on the table's parent wrapper <div>, not on the table itself

Wrong:

<table class="table table-responsive-sm">
  ...
</table>

Right:

<div class="table-responsive-sm">
  <table class="table">
    ...
  </table>
</div>
Clone this wiki locally