From e89579d20121b668904196bd4f007290dc1c0301 Mon Sep 17 00:00:00 2001 From: Egbe Eugene Date: Wed, 23 Aug 2017 14:01:53 +0100 Subject: [PATCH] using an LTR wiki in an RTL language aligns infobox labels incorrectly When using an LTR wiki in an RTL language, Infobox labels are aligned to the right, meanwhile they are to be left-aligned. Added Hack to assign info boxes properly when using RTL languages on LTR wiki Bug: T161399 Change-Id: I1defc994bf128815e3a2f19cda11c439ab2a6cce --- resources/skins.minerva.content.styles/hacks.less | 6 ++++++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 resources/skins.minerva.content.styles/hacks.less diff --git a/resources/skins.minerva.content.styles/hacks.less b/resources/skins.minerva.content.styles/hacks.less old mode 100644 new mode 100755 index 0f07ee660..7486254b5 --- a/resources/skins.minerva.content.styles/hacks.less +++ b/resources/skins.minerva.content.styles/hacks.less @@ -166,3 +166,9 @@ FIXME: Review all of these hacks to see if they still apply. } } } + +// Hack to assign info boxes properly when using RTL languages on LTR wiki +[dir='rtl'] .content .infobox { + /* @noflip */ + text-align: left; +}