diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index a2c80af..c9fd43f 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -29,22 +29,24 @@ const SidebarContent: Component = (props) => { }); return ( -
-
-

目录

- - - +
+
+
+

目录

+ + + +
- {/* 文件树 */} -
+ {/* 文件树滚动区域 */} +

文件

@@ -59,9 +61,9 @@ const SidebarContent: Component = (props) => { ))}
- {/* 当前文件标题 */} + {/* 当前文件标题滚动区域 */} 0}> -
+

本页

@@ -104,7 +106,7 @@ export const MobileSidebar: Component = (props) => { /> {/* 侧边栏 */}