Commit 05903d7bf1
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/NotFound.vue +1 −1
| @@ -13,7 +13,7 @@ const imageSize = ref('550px') // Fixed size for the image | ||
| 13 | 13 | </script> |
| 14 | 14 | |
| 15 | 15 | <template> |
| 16 | <div class="flex min-h-[calc(100vh-4rem)] items-center justify-center p-4"> | |
| 16 | <div class="NotFoundPage flex min-h-[calc(100vh-4rem)] items-center justify-center p-4"> | |
| 17 | 17 | <div class="text-center"> |
| 18 | 18 | <img |
| 19 | 19 | :style="{ width: imageSize, height: 'auto' }" |
docs/.vitepress/theme/styles/style.scss +13
| @@ -358,6 +358,19 @@ main figure figcaption { | ||
| 358 | 358 | object-fit: contain !important; |
| 359 | 359 | } |
| 360 | 360 | |
| 361 | // no sidebar for 404 page | |
| 362 | @media (min-width: 960px) { | |
| 363 | .VPContent.has-sidebar:has(> .NotFoundPage) { | |
| 364 | padding-left: 0; | |
| 365 | } | |
| 366 | } | |
| 367 | ||
| 368 | @media (min-width: 1440px) { | |
| 369 | .VPContent.has-sidebar:has(> .NotFoundPage) { | |
| 370 | padding-right: 0; | |
| 371 | } | |
| 372 | } | |
| 373 | ||
| 361 | 374 | @media (min-width: 1440px) { |
| 362 | 375 | :root { |
| 363 | 376 | --vp-layout-max-width: 100% !important; |