From 7fa31a3ec748750a6382acd362918e40f81fec6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Thu, 7 Sep 2023 15:23:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/help.jsx | 24 +++++++++++++----------- src/forge/Information/index.scss | 15 ++++++++++----- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/src/forge/Information/Pages/help.jsx b/src/forge/Information/Pages/help.jsx index 10352e19..a46971fa 100644 --- a/src/forge/Information/Pages/help.jsx +++ b/src/forge/Information/Pages/help.jsx @@ -198,7 +198,7 @@ function ProjectSource(props) { {item.titleStr} ); return ( - + {renderTreeNodes(item.children)} ); @@ -214,16 +214,18 @@ function ProjectSource(props) { { wikiList && (wikiList.length > 0 ? {/* wiki目录导航 */} -
- - - {renderTreeNodes(initMenuList)} - +
+
+ + + {renderTreeNodes(initMenuList)} + +
{/* 内容区 */} {wikiDetail && diff --git a/src/forge/Information/index.scss b/src/forge/Information/index.scss index 97183225..0f16a211 100644 --- a/src/forge/Information/index.scss +++ b/src/forge/Information/index.scss @@ -1437,15 +1437,17 @@ } // 帮助中心 .zoneHelpBox{ + .leftMenuBox{ + background: #ffffff; + padding: 25px 18px 25px 15px; + } .leftMenuHC{ width: 290px; min-height: 500px; overflow-x: auto; - &::-webkit-scrollbar{ - display: none; - } - background: #ffffff; - padding: 25px 15px; + // &::-webkit-scrollbar{ + // display: none; + // } .ant-tree.ant-tree-directory > .menuHcNode span.ant-tree-node-content-wrapper.ant-tree-node-selected, .ant-tree.ant-tree-directory .ant-tree-child-tree > .menuHcNode span.ant-tree-node-content-wrapper.ant-tree-node-selected{ color: var(--primary-color); } @@ -1468,6 +1470,9 @@ .searchHC .ant-input-search-icon:hover{ color: var(--primary-color); } + .ant-tree li span.ant-tree-switcher{ + width: 10px; + } } .wikiTitleHC{ font-weight: 700;