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;
}
posted @ 2018-11-26 14:49  夜漫  阅读(16604)  评论(4编辑  收藏  举报