From 836946c4563181d018f50166b4fdf3e708ad7574 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 10 Nov 2016 20:19:56 +0100 Subject: [PATCH] doc: fix minor style issue in code examples I've noticed that a few of the code examples have an minor indentation issue with the first line, for example: https://nodejs.org/api/child_process.html#child_process_child_process This commit attempt to fix this issue by using the solution provided provided by silverwind and hiendv. Fixes: https://github.com/nodejs/node/issues/9381 PR-URL: https://github.com/nodejs/node/pull/9482 Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- doc/api_assets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 1e82464cc93b79..c187079a26f98e 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -274,6 +274,7 @@ pre { pre > code { font-size: .8em; + padding: 0; } pre + h3 {