From 6977ae394a91f70b04eaa871dd154d414911f4b7 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 25 Dec 2022 16:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=95=88=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/matery/components/BlogPostCard.js | 7 ++----- themes/matery/components/BlogPostListPage.js | 2 +- themes/matery/components/FloatDarkModeButton.js | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/themes/matery/components/BlogPostCard.js b/themes/matery/components/BlogPostCard.js index 81f76800..65900d9d 100644 --- a/themes/matery/components/BlogPostCard.js +++ b/themes/matery/components/BlogPostCard.js @@ -9,14 +9,11 @@ const BlogPostCard = ({ post, showSummary }) => { return (
+ data-aos-anchor-placement="top-bottom" + className="w-full mb-4 drop-shadow-md border dark:border-black rounded-xl bg-white dark:bg-hexo-black-gray"> {/* 固定高度72 ,没有描述用图片填充 */}
diff --git a/themes/matery/components/BlogPostListPage.js b/themes/matery/components/BlogPostListPage.js index 74ea9903..0a4eec12 100644 --- a/themes/matery/components/BlogPostListPage.js +++ b/themes/matery/components/BlogPostListPage.js @@ -21,7 +21,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount }) => {
{/* 文章列表 */} -
+
{posts.map(post => ( ))} diff --git a/themes/matery/components/FloatDarkModeButton.js b/themes/matery/components/FloatDarkModeButton.js index 661e719f..a8821123 100644 --- a/themes/matery/components/FloatDarkModeButton.js +++ b/themes/matery/components/FloatDarkModeButton.js @@ -22,7 +22,7 @@ export default function FloatDarkModeButton() { return (
)