Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflowing to a new page is broken #28

Open
Vuccappella opened this issue Jan 20, 2025 · 3 comments
Open

Overflowing to a new page is broken #28

Vuccappella opened this issue Jan 20, 2025 · 3 comments

Comments

@Vuccappella
Copy link

Vuccappella commented Jan 20, 2025

See example:

Image

Steps to recreate: simply open up the default template (or any template) and add extra bullet points to the last job description titled Research Chef Intern, add a few copy pasted bulletpoints so that the position extends to the second page.

What you'll see happen is that the title of the position will remain on the 1st page, while all the bullet points will overflow and move to the second page and between the two a big gap of white space will be left. Instead what should happen is the bullet points should smoothly transition from page 1 to page 2 without a big air gap.

I tried fixing the issue with custom styles with limited success.

This is a serious issue as it limits almost all 2 page CVs

@ladislas
Copy link

I have the exact same issue. I've also tried to fix it but without success.

Would you mind sharing your custom style solution? Maybe I could iterate from there :)

@ladislas
Copy link

after trying many different things, I realized that in my case the issue was because I have added a picture at the top right of the page that was included in the calculation of the page size thus breaking the page too early.

moving the picture inside a <span></span> fixed the issue.

That being said, if my bullet points become tool long, the issue arrises again. I fix it by using \newpage between bullet points to move part of the list to the next page

@Vuccappella
Copy link
Author

Vuccappella commented Jan 31, 2025

I have to see what i exactly did to kind of fix it but I believe i added an empty <div style="margin-top: 15px;"><div/> tag between some of the bullet points towards the end of the page, I remember i had to experiment between which bullet I add it and how many pixels and it kinda fixed the issue.

I will try the \newpage tag and it probably functions the same way as my div fix by forcing content to the second page manually but for sure this issue is not isolated to using long bullets or pictures - as demonstrated in the screenshot this can also be recreated with the default template that has no pictures and uses bullets that are 1 to 2 lines long.

Also the div and newpage fixes arent perfect because you'll likey end up with 2 pages that have different margins due to the white space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants