-
Notifications
You must be signed in to change notification settings - Fork 324
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
text lines at the bottom are covered by 'skip to main content' while print a page #1745
Labels
kind: bug
Something isn't working
Comments
Temporary solution:
|
based on a quick search, seems like adding CSS rules under |
Carreau
added a commit
to Carreau/pydata-sphinx-theme
that referenced
this issue
Apr 15, 2024
This should among other fix pydata#1745 When printing this hides - The pydata navbar - The announcement banner. - The "skip to main content" link. - The location breadcrumbs This does not hide the version warning banner as this is currently being worked on in another PR. I went the route of adding the bootstrat `d-print-none`, instead of adding custom css rules, I'm happy to do the opposite, but it seem the using bootstrap classes as that seems what is done in other places. I've also added a break-inside avoid in a few places, mostly to try-to avoid page breaks in the middle of codeblocks.
Carreau
added a commit
to Carreau/pydata-sphinx-theme
that referenced
this issue
Apr 17, 2024
This should among other fix pydata#1745 When printing this hides - The pydata navbar - The announcement banner. - The "skip to main content" link. - The location breadcrumbs (in bd-header-article), without also hiding the container the full content is shifted by a dozen pixel hight and the end of the content get hidden behind the footer when printing. - The prev.next buttons a bottom of page. This does not hide the version warning banner as this is currently being worked on in another PR. I went the route of adding the bootstrat `d-print-none`, instead of adding custom css rules, I'm happy to do the opposite, but it seem the using bootstrap classes as that seems what is done in other places. I've also added a break-inside avoid in a few places, mostly to try-to avoid page breaks in the middle of codeblocks.
Carreau
added a commit
to Carreau/pydata-sphinx-theme
that referenced
this issue
Apr 23, 2024
This should among other fix pydata#1745 When printing this hides - The pydata navbar - The announcement banner. - The "skip to main content" link. - The location breadcrumbs (in bd-header-article), without also hiding the container the full content is shifted by a dozen pixel hight and the end of the content get hidden behind the footer when printing. - The prev.next buttons a bottom of page. This does not hide the version warning banner as this is currently being worked on in another PR. I went the route of adding the bootstrat `d-print-none`, instead of adding custom css rules, I'm happy to do the opposite, but it seem the using bootstrap classes as that seems what is done in other places. I've also added a break-inside avoid in a few places, mostly to try-to avoid page breaks in the middle of codeblocks.
5 tasks
Carreau
added a commit
to Carreau/pydata-sphinx-theme
that referenced
this issue
May 2, 2024
This should among other fix pydata#1745 When printing this hides - The pydata navbar - The announcement banner. - The "skip to main content" link. - The location breadcrumbs This does not hide the version warning banner as this is currently being worked on in another PR. I went the route of adding the bootstrat `d-print-none`, instead of adding custom css rules, I'm happy to do the opposite, but it seem the using bootstrap classes as that seems what is done in other places. I've also added a break-inside avoid in a few places, mostly to try-to avoid page breaks in the middle of codeblocks.
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I first discovered this issue in sphinx-book-theme:
executablebooks/sphinx-book-theme#828
The same issue in pydata-sphinx-theme, while print a page by
Ctrl + P
.lines at the bottom may be covered by 'skip to main content' in some pages of print.
You can see the screenshot in executablebooks/sphinx-book-theme#828 or jupyter-book/jupyter-book#2045
The text was updated successfully, but these errors were encountered: