* Adjust the dotted line style in table contents page.

This commit is contained in:
hufangzhou
2021-07-29 09:10:03 +08:00
parent ce31274d28
commit 3d202d0dfd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
.tail-info, .doc-title, span.item {background: #fff;}
span.item>a {padding-left: 6px;}
span.dotted-line+a {display: block;}
#modules li.tree-single-item:before, .chapterNode:before, .independent:before {content: " "; width: 100%; border-bottom: 1px dashed #b5b9c5; position: absolute; top: 50%; right: 0; left: 30px;}
#modules li.doc:before, .chapterNode:before, .independent:before {content: " "; width: 100%; border-bottom: 1px dashed #b5b9c5; position: absolute; top: 50%; right: 0; left: 30px;}
.doc-title {display: inline-block !important; position: relative; padding-right: 10px;}
.tree li.has-list.open:before {content: unset;}
i.icon-file-text {color: #D0D2D6; font-size: 14px;}
+1 -1
View File
@@ -2166,7 +2166,7 @@ class docModel extends model
foreach($moduleDocs[$module->id] as $doc)
{
if(!$docID and $currentMethod != 'tablecontents') $docID = $doc->id;
$treeMenu[$module->id] .= '<li' . ($doc->id == $docID ? ' class="active"' : '') . '>';
$treeMenu[$module->id] .= '<li' . ($doc->id == $docID ? ' class="active"' : ' class="doc"') . '>';
if($currentMethod == 'tablecontents')
{