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

Page break control #20

Open
dhouck opened this issue Dec 5, 2023 · 0 comments
Open

Page break control #20

dhouck opened this issue Dec 5, 2023 · 0 comments

Comments

@dhouck
Copy link

dhouck commented Dec 5, 2023

Subject of the feature

There should be CSS page break control properties to ensure page breaks are placed at reasonable locations.

Problem

Currently it can break right after a heading or subheading, as happens in the example resume:
image
This is generally not considered good typography and should be avoided.

Expected behaviour

At minimums, page breaks should be prevented directly after headings and subheadings. I donʼt know if CSS allows widow/orphan control, but if so that would be nice too. Ideally, it should be between highligts <li>s, not within them.

Alternatives

Page breaks could be prevented inside the entire .detail-item div, which is the equivalent to what eg. jsonresume-theme-full, but for long work experience descriptions that might cause excessive page breaks.

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

1 participant