From 7ce46452a08b6abefb2eef55c593c582dc1ef50e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 4 Jan 2024 14:48:34 +0800 Subject: [PATCH] * Fix bug #42653. --- module/doc/css/showfiles.ui.css | 1 + module/doc/js/showfiles.ui.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/doc/css/showfiles.ui.css b/module/doc/css/showfiles.ui.css index 6daa80c894..0a6fa3b689 100644 --- a/module/doc/css/showfiles.ui.css +++ b/module/doc/css/showfiles.ui.css @@ -3,3 +3,4 @@ .actions-menu .searchBox .input-control-suffix {padding-right: 0;} .actions-menu .btn-group .switchBtn {padding: 6px 10px;} #table-doc-showfiles [data-type='title'] .dtable-cell-html img {max-height: 36px;} +#table-doc-showfiles [data-type='title'] .titleBox {display: inline-block; height: 36px; vertical-align: middle;} diff --git a/module/doc/js/showfiles.ui.js b/module/doc/js/showfiles.ui.js index 5c3c53345c..8e2a8fdf4b 100644 --- a/module/doc/js/showfiles.ui.js +++ b/module/doc/js/showfiles.ui.js @@ -22,7 +22,7 @@ window.renderCell = function(result, {col, row}) titleHtml += row.data.fileIcon; } - titleHtml += `${row.data.fileName}`; + titleHtml += `
${row.data.fileName}
`; result[0] = {html: titleHtml}; return result;