From 8aa2e58c36712cc1f2b34d13daa7d4af5b11fd10 Mon Sep 17 00:00:00 2001
From: LooseLi <1329307562@qq.com>
Date: Fri, 25 Aug 2023 15:51:51 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0?=
=?UTF-8?q?=E8=BE=B9=E8=B7=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
themes/next/components/ArticleDetail.js | 4 ++--
themes/next/style.js | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
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;
+ }
+
`}
}