2 E027
Herst редактировал(а) эту страницу 2019-08-18 11:28:57 +02:00

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>