Commit 05903d7bf1

05903d7bf1f7d4186d9cafef6b76e09ba3091998

parent: cf47c1fa7e

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-10-16 16:59 UTC

404

Layout: unified · split

docs/.vitepress/theme/components/NotFound.vue +1 −1
@@ -13,7 +13,7 @@ const imageSize = ref('550px') // Fixed size for the image
1313</script>
1414
1515<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">
1717 <div class="text-center">
1818 <img
1919 :style="{ width: imageSize, height: 'auto' }"
docs/.vitepress/theme/styles/style.scss +13
@@ -358,6 +358,19 @@ main figure figcaption {
358358 object-fit: contain !important;
359359}
360360
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
361374@media (min-width: 1440px) {
362375 :root {
363376 --vp-layout-max-width: 100% !important;