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>
This commit is contained in:
silverwind 2017-10-14 08:18:54 +02:00
parent cc443cb447
commit 42479130a9
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -211,6 +211,7 @@ abbr {
p {
text-rendering: optimizeLegibility;
margin: 0 0 1.125rem 0;
line-height: 1.5;
}
#apicontent > *:last-child {