diff --git a/components/Toc.js b/components/Toc.js index 75900311..c850949f 100644 --- a/components/Toc.js +++ b/components/Toc.js @@ -1,7 +1,7 @@ import React, { useCallback } from 'react' import throttle from 'lodash.throttle' import { uuidToId } from 'notion-utils' -import { cs } from 'react-notion-x' +// import { cs } from 'react-notion-x' /** * 目录导航组件 @@ -62,12 +62,9 @@ const Toc = ({ toc }) => { -
标签:
+
标签:
{post.tags.map(tag => ( ))} diff --git a/styles/notion.css b/styles/notion.css index a24dc846..6e84d653 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -180,14 +180,15 @@ min-height: 100vh; } -/* .notion-viewport { +.notion-viewport { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -10; -} */ + pointer-events: none; +} .medium-zoom-overlay { z-index: 300;