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:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user