+ return
+
- >
+
}
export default Toc
diff --git a/components/TocDrawer.js b/components/TocDrawer.js
index 5d272728..80f9e6c8 100644
--- a/components/TocDrawer.js
+++ b/components/TocDrawer.js
@@ -22,17 +22,17 @@ const TocDrawer = ({ post, cRef }) => {
}
const { locale } = useGlobal()
return <>
-
+
{/* 侧边菜单 */}
+ ' shadow-card animate__animated animate__faster max-h-96 ' +
+ ' w-60 duration-200 fixed right-4 top-16 rounded overflow-y-auto py-2 bg-white dark:bg-gray-600'}>
{post && <>
-
+
{locale.COMMON.TABLE_OF_CONTENTS}
-