White space above and below headings in PDF exports.

Anna August 26, 2022

Hello!

 

I'm trying to remove bunch of white space above and below text headings but I can't seem to figure out what in the CSS I should be changing. I thought it could have been the margins or padding or so, but whatever I try to change, there's still huge gaps.

 

This is how it looks in confluence:
(spacing is a lil' weird here too, but it doesn't matter since it's for a pdf anyway)

 

brave_vpbuGZTuso.png

 

And this is how it looks in the pdf export:

(Note the weird gaps and the extreme white space if h4 comes after anything)

SumatraPDF_QAiBvCnw2c.png

 

This is what the css looks like:

brave_qozF8mqViU.png

I'm not very good with CSS. I'm sure that there's something I need to change elsewhere  in the sheet, but I have no idea what. Could anyone help me out with this? Thanks!

 

ETA: I changed the margins to -100 and literally nothing changed in the PDF. I'm at a loss here. What am I doing wrong?

1 answer

1 accepted

0 votes
Answer accepted
Anna September 5, 2022

Fixed by simply not using confluence anymore and moving to something else. This thread can be closed.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events