fix(components):fix

pull/4393/head
张瑞 8 months ago
parent 4318881f09
commit 5586a95f41

@ -17,7 +17,6 @@ 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) {
@ -171,7 +170,6 @@ 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