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

Fix page breaks inside gigs. #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

primarilysnark
Copy link

Fixes page breaks separating gig titles from content.

Original

screen shot 2017-01-16 at 3 02 21 pm

Fix

screen shot 2017-01-16 at 3 02 38 pm

Fixed page breaks appearing inside of gig listings. The breaks were
separating places of employment and job titles from descriptions
and highlights.
Copy link
Contributor

@agent-0028 agent-0028 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fun to see other people tackling the same things I played with when I worked on my resume.

@@ -104,7 +107,7 @@ section
text-align: left

.block
page-break-inside: avoid
break-inside: avoid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the skinny in preferring break-inside over page-break-inside? I just skimmed the spec, I am guessing you like it better because it is less specific to print media?

@@ -75,6 +75,9 @@ section
.category
margin-left: 1in

.gig
break-inside: avoid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I played with something similar, but now that I have added a projects array to my Test Double gig, it is being pushed off the front page.

I am going to hold off on a PR about this until this is merged or closed or we get a chance to pair on it.

I love the way cobbler works, but making a printable paged document from HTML ls always a headache.

I have some ideas, but I will express them in code when/if I have a chance to work on this.

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

Successfully merging this pull request may close these issues.

2 participants