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
This commit is contained in:
Egbe Eugene 2017-08-23 14:01:53 +01:00 committed by Jdlrobson
parent 03717e30e4
commit e89579d201

6
resources/skins.minerva.content.styles/hacks.less Normal file → Executable file
View file

@ -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;
}