diff --git a/src/css/layui.css b/src/css/layui.css index 6743d53e..7b568357 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -1136,7 +1136,9 @@ select.layui-table-edit{padding: 0 0 0 10px; border-color: #d2d2d2;} .layui-table-grid-down:hover{background-color: #fbfbfb;} .layui-table-expanded{height: 95px;} -.layui-table-expanded .layui-table-cell{height: auto; max-height: 95px; white-space: normal; text-overflow: clip;} +.layui-table-expanded .layui-table-cell, +.layui-table-view .layui-table[lay-size="sm"] .layui-table-expanded .layui-table-cell, +.layui-table-view .layui-table[lay-size="lg"] .layui-table-expanded .layui-table-cell{height: auto; max-height: 94px; white-space: normal; text-overflow: clip;} .layui-table-cell-c{position: absolute; bottom: -10px; right: 50%; margin-right: -9px; width: 20px; height: 20px; line-height: 18px; cursor: pointer; text-align: center; background-color: #fff; border: 1px solid #eee; border-radius: 50%; z-index: 1000; transition: 0.3s all; font-size: 14px;} .layui-table-cell-c:hover{border-color: #16b777;} .layui-table-expanded td:hover .layui-table-cell{overflow: auto;}