From cd3792197506767b64f05cfb8a92e05564d4ec2f Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Wed, 3 Dec 2025 13:35:12 +0800 Subject: [PATCH] fix(theme): fix sidebar curtain position-top (#771) --- theme/src/client/components/VPSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/src/client/components/VPSidebar.vue b/theme/src/client/components/VPSidebar.vue index bac04d0b..32271731 100644 --- a/theme/src/client/components/VPSidebar.vue +++ b/theme/src/client/components/VPSidebar.vue @@ -172,7 +172,7 @@ onMounted(() => { @media (min-width: 960px) { .curtain { position: sticky; - top: -64px; + top: calc(var(--vp-nav-height) * -1); left: 0; z-index: 1; height: var(--vp-nav-height);