增加样式  style="word-break:break-all; word-wrap:break-all;" 

 这样内容就会自动换行,表格就美观多了。

<table class="table table-bordered table-hover table-striped" style="word-break:break-all; word-wrap:break-all;">
       <thead>
                      <tr>
                        <th>变量名 <i class="fa fa-sort"></i></th>
                        <th></th>
                      </tr>
        </thead>
        <tbody>
                      <#list systemPro.keySet() as key>
                        <tr>
                          <td style="width:150px;">${key}</td>
                          <td>${systemPro.get(key)}</td>
                        </tr>
                      </#list>
        </tbody>
 </table>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-03-10
  • 2021-12-04
  • 2022-12-23
  • 2022-01-31
相关资源
相似解决方案