diff --git a/patches/vitepress@1.1.4.patch b/patches/vitepress@1.1.4.patch index 88383d4..08b9c42 100644 --- a/patches/vitepress@1.1.4.patch +++ b/patches/vitepress@1.1.4.patch @@ -1,3 +1,146 @@ +diff --git a/dist/client/theme-default/components/VPContent.vue b/dist/client/theme-default/components/VPContent.vue +index 3b2dbdf6e0fff8ec2cd36ca80c713b9bfe738733..f8d08cda3cd4ee17be0e2627a47e170aa21672f3 100644 +--- a/dist/client/theme-default/components/VPContent.vue ++++ b/dist/client/theme-default/components/VPContent.vue +@@ -16,7 +16,6 @@ const { hasSidebar } = useSidebar() + id="VPContent" + :class="{ + 'has-sidebar': hasSidebar, +- 'is-home': frontmatter.layout === 'home' + }" + > + +@@ -69,15 +68,15 @@ const { hasSidebar } = useSidebar() + width: 100%; + } + +-.VPContent.is-home { +- width: 100%; +- max-width: 100%; +-} +- + .VPContent.has-sidebar { + margin: 0; + } + ++@media (min-width: 768px) { ++ .VPContent { ++ width: 100vw; ++ } ++} + @media (min-width: 960px) { + .VPContent { + padding-top: var(--vp-nav-height); +diff --git a/dist/client/theme-default/components/VPDocFooter.vue b/dist/client/theme-default/components/VPDocFooter.vue +index 61d2398be0e1fb703b08ddf1243a2b149bf74776..44def546ec2c482f88400c9dc22c7ee46fb0073b 100644 +--- a/dist/client/theme-default/components/VPDocFooter.vue ++++ b/dist/client/theme-default/components/VPDocFooter.vue +@@ -64,6 +64,7 @@ const showFooter = computed(() => { + +