google / docsy

A set of Hugo doc templates for launching open source content.
https://docsy.dev
Apache License 2.0
2.62k stars 904 forks source link

Repeated Nav in print landscape mode covers content #2107

Open Arty-chan opened 3 weeks ago

Arty-chan commented 3 weeks ago

Environment

Problem

When using the "Print" feature on the browser, it works fine in portrait orientation. However, when switching to "Landscape" orientation, the nav bar is repeated and covers some of the page content.

I've tried multiple browsers including Firefox and Chrome (on the aforementioned MacOS version) with the same behaviour.

This was brought to my attention through our issue tracker where a user filed a bug issue: https://gitlab.com/gitlab-com/content-sites/handbook/-/issues/379

Example

This happens even on the current docsy site: https://www.docsy.dev/docs/adding-content/lookandfeel/

You should have this content from the bottom of page 1 to top of page 2:

Use these files to add project-specific definitions of theme variables as well as any additional Bootstrap variables you want to set or override. For details, including an explanation of which file to use, see Site colors.

However, it goes from: "as well as any" to "For a list of"

Image