fix(log): allow text wrapping in table cells

Modified the log table's line style to enable 'word-break: break-all' property, which permits text to break and wrap within table cells. This adjustment addresses the issue
where long strings of text would overflow or extend beyond the cell's boundary, now
ensuring that all content remains neatly contained within the structure of the table.
This commit is contained in:
wolfcode
2024-09-19 16:34:24 +08:00
parent 84f0bdcc77
commit cb34bf1758

View File

@@ -13,7 +13,7 @@ define(["jquery", "easy-admin"], function ($, ea) {
var util = layui.util;
ea.table.render({
init: init,
lineStyle: 'height: auto;',
lineStyle: 'height: auto;word-break: break-all;',
toolbar: ['refresh', 'export'],
cols: [[
{field: 'id', width: 80, title: 'ID', search: false},