PDF export - stop content overflow

Hi,

How can I get the PDF export feature in Confluence to not overflow content onto the next page?

I basically want to stop this from happening:

 

kgkjhg3j4kjnh2134l5jh13245vjl1h3v46.png

 

You notice how the bottom of that diagram gets cropped or cut of onto the next page of the PDF export? How can I stop this?

2 answers

@Daniel Sadjadian

I had the same problem and could solve it somehow but I can't remember what I did.

Obviously, it is about avoiding page breaks in images so it should be something like this: 

img {
page-break-before: avoid;
page-break-after: avoid;
}

But I am not sure.

Edit:

Perhaps you also try "page-break-inside" or check if the image is inside a table or div and then add that after "img".

I wish I could accept this. I just tried it and it does not work.

@Steffen Heller Do you by any chance know how to fix this issue?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

199 views 10 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you