-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(components):Local navigation location error #4393
base: main
Are you sure you want to change the base?
Conversation
who can help me |
111 |
I think we should add the Example: vitepress/src/client/theme-default/components/VPContent.vue Lines 86 to 89 in 3cd3aee
|
@yuyinws ok Thank you for your help. Is that right for me? |
Please fix the CI error. |
ok |
hello |
Please fix the code review. |
where |
@@ -16,6 +17,7 @@ const open = ref(false) | |||
const vh = ref(0) | |||
const main = ref<HTMLDivElement>() | |||
const items = ref<HTMLDivElement>() | |||
const {hasSidebar} = useSidebar() | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add blank space.
const { hasSidebar } = useSidebar() |
@@ -165,6 +170,9 @@ function scrollToTop() { | |||
left: calc(var(--vp-sidebar-width) + 32px); | |||
width: 320px; | |||
} | |||
.VPLocalNavOutlineDropdown:not(.has-sidebar) .items{ | |||
left:32px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add blank space.
left:32px; | |
.VPLocalNavOutlineDropdown:not(.has-sidebar) .items { |
Sorry my mistake, you can see it now. |
is that so? |
OK! |
LGTM |
fixes #4359