From 9101bd6327afe92fc47d3060d1464c29d8d19e42 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 22 Aug 2017 13:28:38 -0500 Subject: [PATCH] Adjust TOC print styles * Font size shrunk and declared in `pt` * `margin` adjustment * `page-break-before` now uses `avoid` Bug: T173767 Change-Id: Ieeabc22079978cdf1f8484f3ac9961d990901336 --- print.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/print.less b/print.less index d770e3f85..195700851 100644 --- a/print.less +++ b/print.less @@ -142,8 +142,8 @@ // Using #toc rather than .toc to override default print style #toc { - page-break-before: always; - page-break-after: always; + page-break-before: avoid; + page-break-after: avoid; background: none; border: 0; display: block; @@ -156,7 +156,7 @@ > ul { > li { - margin-bottom: 20px; + margin-bottom: 4px; font-weight: bold; > ul { @@ -184,7 +184,7 @@ li.toclevel-1 { > a { font-weight: bold; - font-size: 16px; + font-size: 10pt; } }