diff --git a/themes/next/components/ArticleDetail.js b/themes/next/components/ArticleDetail.js index a4f575ec..f26b6691 100644 --- a/themes/next/components/ArticleDetail.js +++ b/themes/next/components/ArticleDetail.js @@ -34,7 +34,7 @@ export default function ArticleDetail(props) { data-aos-duration="300" data-aos-once="true" data-aos-anchor-placement="top-bottom" - className="subpixel-antialiased overflow-y-hidden py-10 px-5 lg:pt-24 md:px-24 dark:border-gray-700 bg-white dark:bg-hexo-black-gray" + className="subpixel-antialiased overflow-y-hidden py-10 px-5 lg:pt-24 md:px-24 dark:border-gray-700 bg-white dark:bg-hexo-black-gray article-padding" > {showArticleInfo &&
@@ -78,7 +78,7 @@ export default function ArticleDetail(props) {
} {/* Notion内容主体 */} -
+
{post && ()}
diff --git a/themes/next/style.js b/themes/next/style.js index d01b13b3..aaf580ad 100644 --- a/themes/next/style.js +++ b/themes/next/style.js @@ -15,6 +15,10 @@ const Style = () => { background-color: black; } + .article-padding { + padding: 40px; + } + `} }