diff --git a/src/client/theme-default/components/VPLocalNavOutlineDropdown.vue b/src/client/theme-default/components/VPLocalNavOutlineDropdown.vue index 2b74cc17..89fc51f4 100644 --- a/src/client/theme-default/components/VPLocalNavOutlineDropdown.vue +++ b/src/client/theme-default/components/VPLocalNavOutlineDropdown.vue @@ -17,6 +17,7 @@ const open = ref(false) const vh = ref(0) const main = ref() const items = ref() + const {hasSidebar} = useSidebar() function closeOnClickOutside(e: Event) { @@ -170,6 +171,7 @@ function scrollToTop() { left: calc(var(--vp-sidebar-width) + 32px); width: 320px; } + .VPLocalNavOutlineDropdown:not(.has-sidebar) .items{ left:32px; }