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

Right margin and lower margin in the print preview #291

Closed
2 tasks done
ExeRamirez opened this issue May 13, 2020 · 4 comments
Closed
2 tasks done

Right margin and lower margin in the print preview #291

ExeRamirez opened this issue May 13, 2020 · 4 comments

Comments

@ExeRamirez
Copy link

ExeRamirez commented May 13, 2020

Hi! Thanks for this great job! I only have one problem

Checks

Bug
Print Preview adds a right margin and a lower margin on all documents and with any sheet setting.

Version info

  • Version of ngx-extended-pdf-viewer: 3.2.7

Desktop

  • OS: Windows 10 Pro v1909
  • Browser: Chrome
  • Version: 81.0.4044.138

Screenshots
image

@stephanrauh
Copy link
Owner

Which CSS framework are you using? This bug is usually caused by side-effects of your CSS code. For example, Bootstrap causes a border that looks pretty much like your screenshot. Also see https://pdfviewer.net/troubleshooting.

@stephanrauh
Copy link
Owner

Here's a selection of useful issues: #143, #148 and #175. As far as I remember, there are even more issues, but I guess that should give you a headstart to solve the problem.

@ExeRamirez
Copy link
Author

Which CSS framework are you using? This bug is usually caused by side-effects of your CSS code. For example, Bootstrap causes a border that looks pretty much like your screenshot. Also see https://pdfviewer.net/troubleshooting.

Thanks! Solved with https://pdfviewer.net/troubleshooting printing (aka: compatibility to Bootstrap and other CSS frameworks) :
image

@stephanrauh
Copy link
Owner

That's great news! Thanks for reaching out and telling me your success story!

Best regards,
Stephan

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

No branches or pull requests

2 participants