From a3fdbebef5a2d698e9caf94e9909f1ce09aff44c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 10 Apr 2023 15:17:14 +0800 Subject: [PATCH] * Fix bug #33970. --- module/doc/css/tablecontents.css | 2 +- module/doc/view/mydoclist.html.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/doc/css/tablecontents.css b/module/doc/css/tablecontents.css index 55044c054f..250eb0e87a 100644 --- a/module/doc/css/tablecontents.css +++ b/module/doc/css/tablecontents.css @@ -32,7 +32,6 @@ span.item>a {padding-left: 6px;} span.dotted-line+a {display: block;} #modules li.doc:before, .chapterNode:before, .independent:before {content: " "; width: 100%; border-bottom: 1px dashed #b5b9c5; position: absolute; top: 13px; right: 0; left: 30px;} -.doc-title ,.item{display: inline-block !important; position: relative; padding-right: 10px; max-width:80%; white-space: nowrap; text-overflow: clip; overflow: hidden;} #modules i.icon-file-text {color: #D0D2D6; font-size: 14px;} .sortable-sorting .module-name > a {cursor: move;} @@ -48,6 +47,7 @@ span.dotted-line+a {display: block;} li.drag-shadow ul {display: none!important;} .table .c-name > .doc-title {display: inline-block; max-width: calc(100% - 80px); overflow: hidden; background: transparent; padding-right:0px;} +.table .c-name > span.doc-title {line-height: 0; vertical-align: inherit;} .table .c-name > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;} .table .c-name > .ajaxCollect {float: right; position: relative; right: 10px; top: 0px;} table.table > thead > tr {height: 32px;} diff --git a/module/doc/view/mydoclist.html.php b/module/doc/view/mydoclist.html.php index 2838737c89..47ac18cdde 100644 --- a/module/doc/view/mydoclist.html.php +++ b/module/doc/view/mydoclist.html.php @@ -17,6 +17,7 @@ body {margin-bottom: 25px;} #docListForm th.c-actions {width: 84px; padding-left: 15px;} #docListForm .c-module, #docListForm .c-object {width: 120px; overflow: hidden; white-space: nowrap; text-overflow: clip;} #docListForm .table .c-name > .doc-title {display: inline-block; max-width: calc(100% - 80px); overflow: hidden; background: transparent; padding-right:0px;} +#docListForm .table .c-name > span.doc-title {line-height: 0; vertical-align: inherit;} #docListForm .table .c-name > .draft {background-color:rgba(129, 102, 238, 0.12); color:#8166EE;} #docListForm .table .c-name > .ajaxCollect {float: right; position: relative; right: 10px; top: 0px;} #docListForm table.table > thead > tr {height: 32px;}