diff --git a/packages/vuepress-theme-reco/components/Page.vue b/packages/vuepress-theme-reco/components/Page.vue index 4853922..48ea3dc 100644 --- a/packages/vuepress-theme-reco/components/Page.vue +++ b/packages/vuepress-theme-reco/components/Page.vue @@ -238,7 +238,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) 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 {