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

Missing pages when printing #1736

Closed
rip747 opened this issue Nov 20, 2017 · 1 comment
Closed

Missing pages when printing #1736

rip747 opened this issue Nov 20, 2017 · 1 comment

Comments

@rip747
Copy link

rip747 commented Nov 20, 2017

Issue type:

[ ] Feature request
[x ] Bug report
[ ] Documentation

Environment:

  • AdminLTE Version: 2.3.11
  • Operating System: windows
  • Browser (Version): Chrome Version 62.0.3202.94 (Official Build) (64-bit)

Description:

When printing a long page, some pages are cutoff in portrait mode, however they are available in landscape mode.

I have found this is a problem with Bootstrap 3.0 itself as described in their bug:
twbs/bootstrap#22425

The work around is to add page-break-after: always; to the .container:

.container {
page-break-after: always;
}

I also had to cancel out the padding on the .box-body:

@media print {
.box-body {
padding: 0;
}
}

Hope this helps someone

@shiri1248
Copy link

Hi @almasaeed2010 , can i work on this issue ?

@REJack REJack closed this as completed Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants