-
-
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
support disabling aside in themeConfig #1915
Comments
This is intended. Aside contains more than outline.
This is also intended to prevent layout shifts on page switches. |
I must admit that I fail to understand logic behind this decision:
If you are, however, worried about some backward compatibility, because someone already relies on that functionality, then maybe additional option would be better, like for example |
Feel free to create a PR with supporting |
Thank you for understanding, will do that. |
Describe the bug
Even when you set theme.outline = false vitepress still adds class has-aside and therefore content is unnecessary constrained to narrow space
Reproduction
Set theme.outline to false to hide aside. Even thou it's not displayed it still ocupies space and therefore width of .VPDoc container is the same as with theme.outline
Expected behavior
When aside is hidden it should free up space
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: