You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like a style problem caused by padding.
I've tried to edit the padding at src/client/theme-default/components/VPSidebar.vue and this problem is solved.
@brc-dd thanks for the fix! I checked removing that line before and it only seems to work for the vite docs. I think there is some extra spacing still around that makes the vitepress docs show the sidebar when it could be avoided
Ah yeah. We still have 64px extra padding at bottom. I guess that was intentional to avoid having to move mouse/finger at the bottom to click something. @kiaking might know better.
Describe the bug
A scrollbar appears in the sidebar when it isn't required:

I saw the same in https://vitepress.dev
Reproduction
Run the vitepress dev docs.
Expected behavior
The sidebar shouldn't be there until there are enough items in the sidebar.
System Info
Additional context
There is a
padding-bottom: 128px
here that may be part of the issue. It seems the height of the sidebar should also be reviewed.Validations
The text was updated successfully, but these errors were encountered: