fix(components):fix

pull/4393/head
张瑞 7 months ago
parent 15f2bb2883
commit 4318881f09

@ -17,6 +17,7 @@ const open = ref(false)
const vh = ref(0) const vh = ref(0)
const main = ref<HTMLDivElement>() const main = ref<HTMLDivElement>()
const items = ref<HTMLDivElement>() const items = ref<HTMLDivElement>()
const {hasSidebar} = useSidebar() const {hasSidebar} = useSidebar()
function closeOnClickOutside(e: Event) { function closeOnClickOutside(e: Event) {
@ -170,6 +171,7 @@ function scrollToTop() {
left: calc(var(--vp-sidebar-width) + 32px); left: calc(var(--vp-sidebar-width) + 32px);
width: 320px; width: 320px;
} }
.VPLocalNavOutlineDropdown:not(.has-sidebar) .items{ .VPLocalNavOutlineDropdown:not(.has-sidebar) .items{
left:32px; left:32px;
} }

Loading…
Cancel
Save