Support Article
Need to decrease font size of title of report after exportToPDF
SA-43301
Summary
When user exports the content in PDF, the font size of the title of the report is large due to which the content is shifting to the second page.
Error Messages
No Error Message
Steps to Reproduce
- Export the data in PDF
- Observe that the font size of the title of the report is large
Root Cause
An issue in custom application code or rules.
Resolution
Perform the following local-change:
Please include the below CSS in pyReport_ExportToPdfStyles
.content-item.content-field.item-1 {
font-size: 23px !important;
}
Font size can be adjusted as per requirement.
Published September 4, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.