Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-10-14 09:18:54 +0300
committerMichaël Zasso <targos@protonmail.com>2017-10-18 09:34:10 +0300
commitc23bf96dbe71ddb5ea382bc5dc3673af46387669 (patch)
tree73e217249de4da05e937421d94624cb17840178b /doc
parente32b10f469acbdd4892a38992a890d5e9b8b2d03 (diff)
doc: fix paragraph line-height issue
Fix a line-height issue introduced in #15660 where paragraphs containing <code> blocks would have unequal line heights. Fixes: https://github.com/nodejs/nodejs.org/issues/1399 PR-URL: https://github.com/nodejs/node/pull/16200 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/api_assets/style.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css
index 7f15eb1bdd9..1e7baad4ab6 100644
--- a/doc/api_assets/style.css
+++ b/doc/api_assets/style.css
@@ -211,6 +211,7 @@ abbr {
p {
text-rendering: optimizeLegibility;
margin: 0 0 1.125rem 0;
+ line-height: 1.5;
}
#apicontent > *:last-child {