Skip to content
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

x/pkgsite: floating header obscures printout #43238

Closed
rsc opened this issue Dec 17, 2020 · 3 comments
Closed

x/pkgsite: floating header obscures printout #43238

rsc opened this issue Dec 17, 2020 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite

Comments

@rsc
Copy link
Contributor

rsc commented Dec 17, 2020

If you go to a multipage doc like https://pkg.go.dev/github.com/google/go-cmp/cmp and print from Chrome, you can see in the PDF preview that the floating header is printed at the top of every page. Unfortunately, on all but the first page, the floating header is printed on top of actual text that would be useful to be able to read.

If I edit the page with Chrome to make the UnixFixedHeader div "display: none" then the printout is fine. So maybe doing that in print-specific CSS would be enough.

@gopherbot gopherbot added this to the Unreleased milestone Dec 17, 2020
@oiooj
Copy link
Member

oiooj commented Dec 17, 2020

Yes, and we should also hide DocNavMobile, I'm working on it.

@rsc
Copy link
Contributor Author

rsc commented Dec 17, 2020

Thanks!

@jba jba added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 17, 2020
@jba jba modified the milestones: Unreleased, pkgsite/unplanned Dec 17, 2020
@gopherbot
Copy link

Change https://golang.org/cl/278873 mentions this issue: content/static/css: make pages more printer-friendly

@golang golang locked and limited conversation to collaborators Dec 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants