PDF Gen - Investigate and fix the rendering margin issue of the Certification Module
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
Currently, the Certification Module in the generated PDF has an issue with a too large margin. Even though there is remaining space on the current PDF page to render the Certification content, the content is being rendered on a new page instead. This behavior leads to unnecessary page breaks and wasted space.
**TODOs**
- [ ] Analyze and figure out why the content is getting pushed to the next page and determine what's causing the large margins.
- [ ] Adjust the rendering settings so that the content fits properly on the current page without unnecessary page breaks.
- [ ] Test the updated rendering with different PDFs to make sure it works well and doesn’t affect other areas.
- [ ] Test rendered results for all configured PDF files
**Screenshot of the issue**

**Attached Files**
[agm_location_change.pdf](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK2phQmc9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--b5b3f0a489a1ed9abcf247e6529574e0722febbd/agm_location_change.pdf)
[amalgamation_application.pdf](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK25hQmc9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--03dd7cfc0a72c41e43faa6be177d02e1d58c6061/amalgamation_application.pdf)
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, or entry points are named in the issue. Reproduce the margin and page-break behavior with agm_location_change.pdf and amalgamation_application.pdf, then compare the output with all configured PDF files. Done means the Certification content fits available space without unnecessary page breaks and other PDF rendering remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100