From a80b13901d8a3ca263bd5b7fc680f63e1f8182b7 Mon Sep 17 00:00:00 2001 From: pfqgauxfb <3521106529@qq.com> Date: Tue, 3 Jun 2025 10:33:32 +0800 Subject: [PATCH] feng --- src/components/DocComment/styles.module.css | 2 +- src/theme/DocSidebarItem/index.js | 30 +++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/components/DocComment/styles.module.css b/src/components/DocComment/styles.module.css index 3800464..8a96f53 100644 --- a/src/components/DocComment/styles.module.css +++ b/src/components/DocComment/styles.module.css @@ -1,4 +1,4 @@ -YYYY.commentSection { +.commentSection { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ifm-color-emphasis-200); diff --git a/src/theme/DocSidebarItem/index.js b/src/theme/DocSidebarItem/index.js index d75aba0..b0f7c22 100644 --- a/src/theme/DocSidebarItem/index.js +++ b/src/theme/DocSidebarItem/index.js @@ -1,7 +1,6 @@ import React, { useEffect, useState } from 'react'; import DocSidebarItem from '@theme-original/DocSidebarItem'; import styles from './styles.module.css'; -import Comment from '@site/src/components/Comment'; export default function DocSidebarItemWrapper(props) { const { item } = props; @@ -33,7 +32,34 @@ export default function DocSidebarItemWrapper(props) {