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
Hide some UI elements when printing #2913
base: main
Are you sure you want to change the base?
Conversation
Should also hide "Menu" and "Search" if you don't already do that in this PR |
Might even want to reduce the UI spacing/make the colors more readable but kind of outside the scope of this PR. |
I think those are already hidden somehow. I can definitely add styling for those, though! |
Agreed, but this is out of scope IMO. |
they aren't, check on the deploy preview: https://deploy-preview-2913--vitepress-docs.netlify.app/ also why hide navbar and footer? |
Doesn't seem necessary for a printout, but the Site Icon+Name should be kept |
Menu and search are hidden for me! However, the website title is overlapping with the page content. Any idea how this might be fixable? |
When I want to print an article, some UI elements still show up:
This PR hides them when trying to print.