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
13</script> 13</script>
14 14
15<template> 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 <div class="text-center"> 17 <div class="text-center">
18 <img 18 <img
19 :style="{ width: imageSize, height: 'auto' }" 19 :style="{ width: imageSize, height: 'auto' }"
docs/.vitepress/theme/styles/style.scss +13
@@ -358,6 +358,19 @@ main figure figcaption {
358 object-fit: contain !important; 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@media (min-width: 1440px) { 374@media (min-width: 1440px) {
362 :root { 375 :root {
363 --vp-layout-max-width: 100% !important; 376 --vp-layout-max-width: 100% !important;