From b836141c9fb33f50b2d19ec1bb72c59aae7c08b5 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 5 Aug 2019 12:34:22 +0100 Subject: [PATCH] Remove outer border from overflow tables Bug: T206762 Change-Id: Ice5e85d10d932a93094228629201afd98a9cc1f4 --- resources/skins.minerva.content.styles/tables.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/skins.minerva.content.styles/tables.less b/resources/skins.minerva.content.styles/tables.less index e25733a..f259002 100644 --- a/resources/skins.minerva.content.styles/tables.less +++ b/resources/skins.minerva.content.styles/tables.less @@ -13,6 +13,13 @@ table { display: block; width: 100% !important; + + &.wikitable { + // Remove the outer table border as the table container may be + // wider than all the cells (T206762). In most cases the table + // border is not visible anyway due to border-collapse. + border: 0; + } } caption {