Skip to content

Commit

Permalink
center doc in large screens
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Apr 14, 2024
1 parent 64275b9 commit 7cf9857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/theme/components/Doc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const pageName = computed(() =>
<main class="main">
<MarkdownContent
:class="[
frontmatter.layout === 'home' || frontmatter.prose !== false && 'prose children:pb-40 children:md:pb64',
frontmatter.layout === 'home' || frontmatter.prose !== false && 'prose children:pb-40 children:md:pb64 children:mx-auto',
frontmatter.prose === false ? `px-32 md:px96 pb64 md:pb128` : '',
pageName,
theme.externalLinkIcon && 'external-link-icon-enabled',
Expand Down

0 comments on commit 7cf9857

Please sign in to comment.