[Bug Report]: 'skip to main content' blocking content when printing #2484

Closed
opened 2026-02-05 04:18:05 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jeff0485 on GitHub (Nov 10, 2021).

Describe the Bug

There is a "Skip to Main Content" link on the bottom left corner of every sheet when printing a page that exceeds 1 sheet in length.

Steps to Reproduce

Open a BookStacks page that is longer than 1 sheet of paper
Print via the browser
"Skip to main content" link appears on top of content on bottom left of each sheet.

Expected Behaviour

A clean printout without extra elements blocking content

Screenshots or Additional Context

image

Exact BookStack Version

v21.10.3

PHP Version

unknown

Hosting Environment

Ubuntu 20.04 LTS, also shows on official BookStack demo

Originally created by @jeff0485 on GitHub (Nov 10, 2021). ### Describe the Bug There is a "Skip to Main Content" link on the bottom left corner of every sheet when printing a page that exceeds 1 sheet in length. ### Steps to Reproduce Open a BookStacks page that is longer than 1 sheet of paper Print via the browser "Skip to main content" link appears on top of content on bottom left of each sheet. ### Expected Behaviour A clean printout without extra elements blocking content ### Screenshots or Additional Context ![image](https://user-images.githubusercontent.com/94074288/141172648-88aca022-c789-493e-a499-2b490958864b.png) ### Exact BookStack Version v21.10.3 ### PHP Version unknown ### Hosting Environment Ubuntu 20.04 LTS, also shows on [official BookStack demo](https://demo.bookstackapp.com/books/bookstack-demo-site/page/mixed-content-example-page)
OVERLORD added the 🐛 Bug🎨 Design💻 Front-End labels 2026-02-05 04:18:05 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Nov 11, 2021):

Thanks for reporting @jeff0485.

Interestingly this does not occur on FireFox, Nor does it occur in chrome when emulating print styles using the development tools. May be a bug, or at least a strange scenario, in chrome for the styles of this particular element.

Either way, still something we should hide in print styles to be sure. Have assigned to the next feature release.

@ssddanbrown commented on GitHub (Nov 11, 2021): Thanks for reporting @jeff0485. Interestingly this does not occur on FireFox, Nor does it occur in chrome when emulating print styles using the development tools. May be a bug, or at least a strange scenario, in chrome for the styles of this particular element. Either way, still something we should hide in print styles to be sure. Have assigned to the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2484