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

Possible line spacing issue in nightly docs #1399

Closed
vsemozhetbyt opened this issue Oct 14, 2017 · 2 comments
Closed

Possible line spacing issue in nightly docs #1399

vsemozhetbyt opened this issue Oct 14, 2017 · 2 comments

Comments

@vsemozhetbyt
Copy link
Contributor

It seems nightly docs have unequal line spacing in lines with and without code fragments, Compare:

https://nodejs.org/api/tty.html

0

https://nodejs.org/download/nightly/v9.0.0-nightly20171013981595c316/docs/api/tty.html

1

@fhemberger
Copy link
Contributor

line-height is missing in the nightly docs. Maybe changes made in nodejs/node#15660 are not deployed there?

/cc @silverwind @lpinca

@silverwind
Copy link
Contributor

silverwind commented Oct 14, 2017

I removed p {line-height: 1.5} because it seemed superflous. The case here is that <code> sets it to 1.5, but <p> defaults to 1.2. Restoring that rule fixes it. I'll send a PR.

silverwind added a commit to silverwind/node that referenced this issue Oct 14, 2017
Fix a line-height issue introduced in nodejs#15660 where paragraphs
containing <code> blocks would have unequal line heights.

Fixes: nodejs/nodejs.org#1399
silverwind added a commit to nodejs/node that referenced this issue Oct 15, 2017
Fix a line-height issue introduced in #15660 where paragraphs
containing <code> blocks would have unequal line heights.

Fixes: nodejs/nodejs.org#1399
PR-URL: #16200
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
addaleax pushed a commit to ayojs/ayo that referenced this issue Oct 15, 2017
Fix a line-height issue introduced in #15660 where paragraphs
containing <code> blocks would have unequal line heights.

Fixes: nodejs/nodejs.org#1399
PR-URL: nodejs/node#16200
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
targos pushed a commit to nodejs/node that referenced this issue Oct 18, 2017
Fix a line-height issue introduced in #15660 where paragraphs
containing <code> blocks would have unequal line heights.

Fixes: nodejs/nodejs.org#1399
PR-URL: #16200
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
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

3 participants