更新时间:2023-02-04 16:51:30
这是因为您没有遵循响应表.您必须将table
元素与.table
类一起包装在具有.table-responsive
类的包装器<div>
中,如下所示:
It's because you are not following the Bootstrap documentation indications on responsive tables. You have to wrap your table
element with .table
class in a wrapper <div>
with the .table-responsive
class, like this:
<div class="table-responsive">
<table class="table">
...
</table>
</div>