-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Issue Summary
When exporting a Confluence page to PDF, if an image styled with border is inserted after the midpoint of a page (i.e., closer to the page bottom), the border is rendered partially on one page and partially on the next. This leads to a broken or incomplete border appearance in the PDF export.
This behavior disrupts the layout and fails to maintain visual consistency for bordered elements, especially important for diagrams or visual references.
Steps to Reproduce
- Add an image to a Confluence page ( after mid section )
-
Apply border on it
- Export the page to PDF
- Open the generated PDF
Expected Results
The entire image, including its border, should be displayed together on a single page or automatically pushed to the next page if it does not fully fit.
Actual Results
The image border is split between two pages.
Workaround
Apply the border with the below CSS
img {
border: 2px solid #000; /* Black border */
padding: 4px;
margin: 10px 0;
display: block;
max-width: 100%;
height: auto;
}
- mentioned in
-
Page Loading...