1.css样式代码
<style>
/*自动适应高度*/
.layui-table-cell{
height: auto;
white-space: normal;
/*line-height: 28px;*/
}
</style>
2.示例界面如下:
![](https://img-blog.csdnimg.cn/img_convert/a42e9c6eb18552bb24b1ba68eea603c8.png)
1.css样式代码
<style>
/*自动适应高度*/
.layui-table-cell{
height: auto;
white-space: normal;
/*line-height: 28px;*/
}
</style>
2.示例界面如下: