Export PDF Stylesheet [data-layout-section="true"] modification doesn't work.

Christopher January 6, 2020

Hello,

Hoping for a little help.

I am seeing that everything that happens to be or of the container is wrapped in a div element with the attribute [data-layout-section="true"] I tried to target this and I have been unable to get any modification what so ever.

My Current PDF Stylesheet

@page {    
size: 216mm 279mm;    
margin: 5mm;
}
div.wiki-content {    
box-sizing: border-box;    
width: 190mm !important;    
max-width: 100%;    
align-self: center !important;    
margin: 0 !important;    
padding: 18px !important;
}
div.wiki-content div[data-layout-section="true"] {    
margin-left: -5mm !important; /* My Attempt to shift content left. */
}


The first two @pagetTeng and div.wiki-content are working properly. Has anyone else had issues with the export format?

 

Thank you!

1 answer

0 votes
Dara January 14, 2020

Not 100% sure, but it seems to me that 'data-layout-section="true"' would indicate that for this section it takes the lay-out that is already given. Haven't been able to find anything to back that up, though, so could just be a guess.

Have you tried removing that bit?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events