From cb34bf17581713561e6b5718629dfc698c7d0f83 Mon Sep 17 00:00:00 2001 From: wolfcode <37436228+wolf-leo@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:34:24 +0800 Subject: [PATCH] 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. --- public/static/admin/js/system/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin/js/system/log.js b/public/static/admin/js/system/log.js index 4ec0974..da61d52 100644 --- a/public/static/admin/js/system/log.js +++ b/public/static/admin/js/system/log.js @@ -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},