From 5a1a0b5ed162b8cd0f1b4b846a84e86371c0db78 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; + } +}