Skip to content

Responsive tables - best practices confusion #25509

@Webotvorba

Description

@Webotvorba

In migrating to v4 it says:

Responsive tables no longer require a wrapping element. Instead, just put the .table-responsive right on the <table>.

In docs it says:

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

So which one is the best?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions