Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,036
Community Members
 
Community Events
176
Community Groups

support for css grid

I want to produce a PDF with letter layout from a Confluence page.

Per Corporate Design guidelines, the layout of the first page is exactly defined, including a page header, right sidebar, flexible height address section and footer.

I havent found a way to create a Scroll PDF template where the fist page has a different layout but the page content flows from this first page to the following pages where the layout is different.

I am able to produce a CSS grid based user macro that formats the page exactly as I need it for the letter layout. But when I export the page using Scroll PDF, items in the grid appeaar below each other instead of layed out across the page.

You can test this using this within the HTML macro:

<div class="" style="display:grid;grid-template-columns:auto auto auto">
<div class="">1</div>
<div class="">2</div>
<div class="">3</div>
<div class="">4</div>
<div class="">5</div>
</div>

On the Confluence page, "1", "2" and "3" appear in the first line and "4", "5" appear in the second line.

In the exported PDF, each number is on it's own line.

1 answer

@Arnd Layer I now this was a couple years ago, but did you ever find an answer to this? or a workaround? I seem to be experiencing the same issue you were seeing.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events