From d6cfc73fa7cc3e7f1cea59744b690df524bbc454 Mon Sep 17 00:00:00 2001 From: cfree Date: Sat, 9 May 2020 22:27:21 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E4=B8=BAcontentWidth=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 如果改变了全局的宽度样式,这里还是默认的740px,整体会不协调 --- packages/vuepress-theme-reco/components/Page.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuepress-theme-reco/components/Page.vue b/packages/vuepress-theme-reco/components/Page.vue index 6bf1304..116b3a3 100644 --- a/packages/vuepress-theme-reco/components/Page.vue +++ b/packages/vuepress-theme-reco/components/Page.vue @@ -229,7 +229,7 @@ function flatten (items, res) { padding-bottom 2rem display block .page-title - max-width: 740px; + max-width: $contentWidth; margin: 0 auto; padding: 1rem 2.5rem; color var(--text-color) From b70cec2d363d389d054ab4f17acf1a1ec6837d2a Mon Sep 17 00:00:00 2001 From: cfree Date: Sat, 9 May 2020 22:40:27 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E4=B8=BA=E5=8F=98=E9=87=8F=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vuepress-theme-reco/layouts/Category.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuepress-theme-reco/layouts/Category.vue b/packages/vuepress-theme-reco/layouts/Category.vue index 71fb815..f68f00c 100644 --- a/packages/vuepress-theme-reco/layouts/Category.vue +++ b/packages/vuepress-theme-reco/layouts/Category.vue @@ -108,7 +108,7 @@ export default {