Whitespace below document on an embedded page
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- While using an embedded page with single page PDF url, a big white-space gets added to the page affecting the look and feel of the page.
- Steps to reproduce the issue:
- Upload a PDF document of single page on Liferay portal using Document & Media.
- Copy the Latest version Url of this document.
- Go to Site Builder -> Pages and create a new embedded page, giving the document's URL in it.
- Navigate to newly created embedded page.
Expected Result: PDF is displayed on the page, covering most part of the page as needed by the PDF viewer.
Observed Result: PDF is displayed on the page, covering only top 25% (approx) part of page, and rest is a big white-space till footer.
Resolution
- The observed behavior is a known bug and is addressed via LPS-47506
- The issue is fixed on Liferay DXP 7.4 U60
Did this article resolve your issue ?