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
Just realized that this is on Vue docs too. Patched it to look like this:
The max-height thing will work better with calc(100vh - var(--vp-nav-height-desktop)) (also it needs to be added only for desktops min-width: 768px). On mobiles it still works fine. Feel free to create a PR or I'll make once I get some time.
likui628
added a commit
to likui628/vitepress
that referenced
this issue
Jul 14, 2022
Is your feature request related to a problem? Please describe.
If there are many navbar menus or the users have a low-resolution screen,
it is supposed that the navbar menus may succeed the screen height.
Describe the solution you'd like
add max-height and overflow-y properties
https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/components/VPMenu.vue
Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: