From 7dc77f594acf1eb9ae3a408517beb9ecad3e54da Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 25 Nov 2019 22:03:13 -0800 Subject: [PATCH] Replace id by attribute selector `[ class|='mw-content ]'` catches `.mw-content`, but also `.mw-content-rtl`. Change-Id: Ibbde7670cf86e36f08a4ce3dca9565bdaaec9b13 --- resources/skins.minerva.base.styles/print/article.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/skins.minerva.base.styles/print/article.less b/resources/skins.minerva.base.styles/print/article.less index eb5e64b85..5c3649255 100644 --- a/resources/skins.minerva.base.styles/print/article.less +++ b/resources/skins.minerva.base.styles/print/article.less @@ -79,8 +79,9 @@ font-size: 28px; } -// stylelint-disable selector-max-id -#mw-content-text { +// `#mw-content-text` doesn't feature universal class selector. +// `class|='mw-content'` catches `.mw-content`, but also `.mw-content-rtl`. +[ class|='mw-content' ] { font-size: 36px; a { @@ -122,4 +123,3 @@ font-size: 30px; } } -// stylelint-enable selector-max-id