mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
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:
parent
03717e30e4
commit
e89579d201
6
resources/skins.minerva.content.styles/hacks.less
Normal file → Executable file
6
resources/skins.minerva.content.styles/hacks.less
Normal file → Executable 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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue