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

resize of canvas not working, width and height styles will be overwritten by angular-pdf code #213

Open
kalebakula opened this issue Nov 16, 2017 · 1 comment

Comments

@kalebakula
Copy link

Need a solution to resize the canvas so that we can avoid vertical scroll bar. We are applying custom styles dynamically after pdf loads(in on load event). But width and height styles are getting overwritten by angular-pdf code

Please comment on this

@dennybiasiolli
Copy link
Collaborator

Hi @kalebakula,
Have you tried using scale attribute in the directive?
You need to apply custom styles and then load pdf, so scale attribute can work in your final layout.

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