From 1e14e325717c6f88e0b8554b8dc03e23bd4600b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=A6=82=E6=91=B8=E9=B1=BC=E5=8E=BB?= <1780903673@qq.com> Date: Thu, 30 Oct 2025 16:12:26 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BE=A7=E8=BE=B9=E6=BC=94=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/components/VPIframe.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/theme/components/VPIframe.vue b/docs/.vitepress/theme/components/VPIframe.vue index 5b79a739..030d97bf 100644 --- a/docs/.vitepress/theme/components/VPIframe.vue +++ b/docs/.vitepress/theme/components/VPIframe.vue @@ -230,7 +230,7 @@ watch( position: fixed; z-index: 10; right: 32px; - top: calc(var(--vp-nav-height) + var(--vp-layout-top-height) + 32px); + top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px); width: 330px; font-size: 16px; background: var(--vp-c-bg-alt); @@ -360,7 +360,7 @@ watch( position: fixed; z-index: 10; right: 16px; - top: calc(var(--vp-nav-height) + var(--vp-layout-top-height) + 32px); + top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px); width: 48px; height: 48px; background: var(--vp-c-bg-alt);