From 2d3730ba8eacbbe2f3a0471aa1c738be1903e2f6 Mon Sep 17 00:00:00 2001 From: Baha Date: Thu, 21 Sep 2017 16:06:51 -0400 Subject: [PATCH] Print styles: fix breaking of table of contents By changing the display of the table of contents we'll make sure that it doesn't try to occupy the whole page width. This is useful when an infobox is floated to the right of the table of contents. Bug: T174957 Change-Id: Ifc808bdd2b65867d14278b12735103c761fb8111 --- print.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print.less b/print.less index 6dafb441d..e344cd074 100644 --- a/print.less +++ b/print.less @@ -161,7 +161,7 @@ page-break-after: avoid; background: none; border: 0; - display: block; + display: table; a { border: 0;