-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
.ng2-pdf-viewer-container not in parent container #811
Comments
Workaround could be to set the container to position:relative. Took me also i while to figure out. |
I think it is a duplicate of #805 (workaround provided) |
I can't thank you enough. I was going insane. The example in the demo worked fine and mine just didn't. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Giving the host `display: block` makes him immediately visible. `position: relative` is there to prevent VadimDez#811.
Checkout 7.0.2 release, should be better now, I've also included breaking change note. |
Giving the host `display: block` makes him immediately visible. `position: relative` is there to prevent VadimDez/ng2-pdf-viewer#811.
Bug Report or Feature Request (mark with an
x
)File : pdf-viewer.component.scss
In the latest version, the .ng2-pdf-viewer-container is set with position:absolute and width:100%
This leads to multiple styling problems, especially in pages where the pdf viewer is supposed to be contained in a container.
In previous versions, the position was set to relative and there was no problems.
The text was updated successfully, but these errors were encountered: