Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Printing a page with ng-sidebar only prints what's visible in viewport #179

Open
dozer75 opened this issue Mar 13, 2019 · 1 comment
Open

Comments

@dozer75
Copy link

dozer75 commented Mar 13, 2019

When I try to print a page that contains the ng-sidebar with scrollable content, only what's visible in the viewport is printed. The ng-sidebar style should make it possible to print the whole content.

Simplest way to reproduce:

  • Open chrome
  • Go to your own demo site
  • CTRL + P

See that only one page is printed

@najohnson11936
Copy link

I've come across similar issues and was able to work around this by overriding the css. Something along the lines of the following can get you started. Just be sure to use the print media.

@media print {
.ng-sidebar__content {
position: relative !important;
overflow: visible !important;
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants