首页 > 解决方案 > Bootstrap 无法在较小的设备上显示完整的表格,所以我希望表格缩小以适应屏幕

问题描述

我有一个关于引导程序的问题,我需要在小型设备(768 或更小)上完全显示表格,但它不起作用,它只在大型笔记本电脑上显示完整的表格,你有解决它的想法吗?谢谢

  <div class="col-sm col-md col-lg col-xs">
    <div class="user-dashboard-info-box table-responsive-lg mb-0 bg-white p-4 shadow-sm" >
      
      <table  style="width: auto;" class="table manage-candidates-top mb-0">
        <thead>
          <tr>
            <th>Nutzer</th>
            <th class="text-center" >Erstellt am</th>
            <th class="text-center" >Email</th>
            <th class="text-center" >Projekt(e)</th>
            <th class="action text-right" >Bearbeiten</th>
          </tr>
        </thead>
        <tbody>
            ...
        </tbody>
    </table>

标签: bootstrap-4

解决方案


推荐阅读