diff --git a/themes/Medium/LayoutBase.js b/themes/Medium/LayoutBase.js index 3cd0f7bbf60..087d2589941 100644 --- a/themes/Medium/LayoutBase.js +++ b/themes/Medium/LayoutBase.js @@ -25,14 +25,13 @@ const LayoutBase = props => {
- {/* 桌面端左侧菜单 */} {/* */} -
+
{/* 移动端顶部菜单 */} -
+
{children}
@@ -51,8 +50,8 @@ const LayoutBase = props => {
{/* 移动端底部 */} -
) } diff --git a/themes/Medium/components/BottomMenuBar.js b/themes/Medium/components/BottomMenuBar.js index 6e8e0c71be1..f81af654fd9 100644 --- a/themes/Medium/components/BottomMenuBar.js +++ b/themes/Medium/components/BottomMenuBar.js @@ -6,7 +6,7 @@ import JumpToTopButton from '@/themes/Medium/components/JumpToTopButton' export default function BottomMenuBar ({ className }) { return ( -
+
diff --git a/themes/Medium/components/Catalog.js b/themes/Medium/components/Catalog.js index 9ae655a1e48..b1dc71ba589 100644 --- a/themes/Medium/components/Catalog.js +++ b/themes/Medium/components/Catalog.js @@ -2,8 +2,7 @@ import React from 'react' import throttle from 'lodash.throttle' import { uuidToId } from 'notion-utils' import Progress from './Progress' -// import { cs } from 'react-notion-x' - +import JumpToTopButton from './JumpToTopButton' /** * 目录导航组件 * @param toc @@ -79,6 +78,7 @@ const Catalog = ({ toc }) => { ) })} +
} diff --git a/themes/Medium/components/Footer.js b/themes/Medium/components/Footer.js index d9aac814826..57ad77970f2 100644 --- a/themes/Medium/components/Footer.js +++ b/themes/Medium/components/Footer.js @@ -9,7 +9,7 @@ const Footer = ({ title }) => { const startYear = BLOG.SINCE && BLOG.SINCE !== currentYear && BLOG.SINCE + '-' return (