个人博客 地址:http://www.wenhaofan.com/article/20181120180507

layui 的table的的cell默认是超出hidden的,如果希望超出长度自动换行便需要覆盖layui的默认样式实现

代码如下

.mytable .layui-table-cell{
height:auto;
overflow:visible;
text-overflow:inherit;
white-space:normal;
}

相关文章:

  • 2021-11-30
  • 2021-12-23
  • 2021-12-12
  • 2022-01-15
  • 2022-12-23
  • 2021-05-30
  • 2021-06-20
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-01-04
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
相关资源
相似解决方案