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