layui table 超出自动换行


个人博客 地址: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;
}
原文地址:https://www.cnblogs.com/fanwenhao/p/10020264.html