From a003e37942c71b4a592470da8e48a6bf2bbdbb8d Mon Sep 17 00:00:00 2001 From: Marian Date: Mon, 16 May 2016 20:21:09 +0300 Subject: [PATCH] doc: make the api doc print-friendly Fixes: https://github.com/nodejs/node/issues/6743 PR-URL: https://github.com/nodejs/node/pull/6748 Reviewed-By: Robert Jefe Lindstaedt Reviewed-By: Anna Henningsen Reviewed-By: Stephen Belanger Reviewed-By: Myles Borins --- doc/api_assets/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index e375e5cd27405c..a8e4b32611164b 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -467,3 +467,16 @@ th > *:last-child, td > *:last-child { font-size: 3.5em; } } + +@media print { + html { + height: auto; + } + #column2.interior { + display: none; + } + #column1.interior { + margin-left: auto; + overflow-y: auto; + } +}