From e0cae32d7dbc960b8ec82e055750a9e9823dc5ee Mon Sep 17 00:00:00 2001 From: tangly Date: Sat, 4 Dec 2021 11:58:31 +0800 Subject: [PATCH] =?UTF-8?q?Bugfix:=20CheckBox=E6=A0=B7=E5=BC=8F;=20404?= =?UTF-8?q?=E5=A4=9C=E9=97=B4=E6=A0=B7=E5=BC=8F=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/404.js | 2 +- pages/article/[slug].js | 24 ++++++++++++------------ styles/notion.css | 5 +++++ 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/pages/404.js b/pages/404.js index 3303f27e..5099845a 100644 --- a/pages/404.js +++ b/pages/404.js @@ -27,7 +27,7 @@ export default function Custom404 () { return
-
+

404

页面无法加载,即将返回首页

diff --git a/pages/article/[slug].js b/pages/article/[slug].js index 92e2dcc6..c0960674 100644 --- a/pages/article/[slug].js +++ b/pages/article/[slug].js @@ -133,18 +133,18 @@ const ArticleDetail = ({ post, blockMap, tags, prev, next, allPosts, categories
-
- -
- {prev.title}
- - -
{next.title} - -
- -
+
+ +
+ {prev.title}
+ + +
{next.title} + +
+
+
{/* 评论互动 */}
p.slug === slug) diff --git a/styles/notion.css b/styles/notion.css index 0ee76224..a63d222d 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -1126,6 +1126,11 @@ svg.notion-page-icon { .notion-to-do-item .notion-property-checkbox { margin-right: 8px; + @apply w-4 h-4 border-2 +} + +.notion-property-checkbox-checked { + @apply bg-white } .notion-google-drive {