页面里加
.mytable .layui-table-cell{height:auto; overflow:visible; text-overflow:inherit; white-space:normal;}
这样就覆盖了layui.css里默认的样式
可以再表头中设置style属性
style:'height:auto;overflow:visible;text-overflow:inherit;white-space:normal;'
时间:2023-08-05 17:06:17
页面里加
.mytable .layui-table-cell{height:auto; overflow:visible; text-overflow:inherit; white-space:normal;}
这样就覆盖了layui.css里默认的样式
可以再表头中设置style属性
style:'height:auto;overflow:visible;text-overflow:inherit;white-space:normal;'
解决html表格中内容超出不强制换行和超出宽度自动隐藏并显示省略号【HTML】
2019-03-26
CSS控制文本超出指定宽度显示省略号和文本不换行【HTML】
2022-09-03
1. 人鸦:人性与欲望的交织 震撼心灵 2. 人鸦:城市底层的残酷现实与生存之道 3.
2024-07-30
海南洋浦考察精神心得体会及收获 海南考察心得体会100字(4篇)
2024-07-30