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 line spacing when printing markdown note #992

Merged
merged 1 commit into from
Nov 12, 2018
Merged

Fix line spacing when printing markdown note #992

merged 1 commit into from
Nov 12, 2018

Conversation

nicolad
Copy link
Contributor

@nicolad nicolad commented Nov 6, 2018

No description provided.

@mirka mirka self-requested a review November 6, 2018 21:46
@mirka mirka added this to the 1.3.1 milestone Nov 6, 2018
@mirka
Copy link
Member

mirka commented Nov 8, 2018

Thanks! But I'm not exactly sure what this PR is fixing/improving. The large line spacing issue isn't fixed, and I don't see why we need to add all these styles. Could you maybe clarify your intent?

@nicolad
Copy link
Contributor Author

nicolad commented Nov 9, 2018

Intent is to adjust spacing, which I have done with additional commit. I have borrowed resets from Gutenberg: https://github.com/BafS/Gutenberg/blob/master/scss/_print-reset.scss

@mirka
Copy link
Member

mirka commented Nov 9, 2018

Ok, thanks for clarifying! However, I was thinking the line spacing issue brought up in #540 is caused by the white-space: pre-line, and it should probably be fixed by removing that one rule. Did you try that?

@nicolad
Copy link
Contributor Author

nicolad commented Nov 9, 2018

Yes, that's fixing the issue, have updated the PR. Thank you for hint :)

Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Great, thank you @vadimnicolai 🎉

@mirka mirka changed the title Applied some generic printing styles. Fix line spacing when printing markdown note Nov 9, 2018
@mirka mirka removed this from the 1.3.1 milestone Nov 12, 2018
@mirka mirka merged commit 3f4861c into Automattic:master Nov 12, 2018
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