From d1d639a3abe7b897a15c32ff4429325633e84cd2 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 25 Jul 2017 15:22:53 -0700 Subject: [PATCH] Print styles: Border bottom of headings should not overlap infoboxes Specifically this avoids the issue highlighted here: https://phabricator.wikimedia.org/T169823#3461814 Bug: T169823 Change-Id: Ie73b727e26876b027e5c4276f82a9ae98caff2bb --- print.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/print.less b/print.less index 0d319710e..3b3f26f46 100644 --- a/print.less +++ b/print.less @@ -45,6 +45,8 @@ // Headings .firstHeading, h2 { + // To avoid the bottom border of section headings with floated elements + overflow: hidden; border-bottom: 2px solid @pureBlack; }