Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
Severity 3 - Minor
-
Description
Summary
Adding code for first page on PDF Stylesheet truncates export on the right side.
Environment
- Confluence Cloud
Steps to Reproduce
- Go to the instance PDF Stylesheet at https://<INSTANCE>.atlassian.net/wiki/admin/flyingpdf/viewpdfstyleconfig.action
- On PDF Export Stylesheet > Edit.
- Add the following code:
@page :first{ margin: 0; padding: 0; }
- Click Save.
- Create a page.
- Add enough text to generate more than one page when exporting, for example using the Lorem Ipsum macro.
- Publish the page.
- Click the ... icon.
- Export to PDF.
Expected Results
- The first page of the document will have no margins, the other ones will be normal, with margins.
Actual Results
- The first page of the document have no margins, but the other pages are truncated on the right.
Workaround
- Removing the code from the PDF Stylesheet.