From a1121258326b5d033aa91b9aea1ad6b37447431b Mon Sep 17 00:00:00 2001 From: SherfoLD Date: Sat, 18 Oct 2025 00:34:29 +0300 Subject: [PATCH] fix(theme): use nav height css var for curtain top in sidebar --- src/client/theme-default/components/VPSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/theme-default/components/VPSidebar.vue b/src/client/theme-default/components/VPSidebar.vue index b27d8028b0c1..e20a5a0a19c6 100644 --- a/src/client/theme-default/components/VPSidebar.vue +++ b/src/client/theme-default/components/VPSidebar.vue @@ -119,7 +119,7 @@ watch( @media (min-width: 960px) { .curtain { position: sticky; - top: -64px; + top: calc(var(--vp-nav-height) * -1); left: 0; z-index: 1; margin-top: calc(var(--vp-nav-height) * -1);