jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/373286 )

Change subject: using an LTR wiki in an RTL language aligns infobox labels 
incorrectly
......................................................................


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
---
M resources/skins.minerva.content.styles/hacks.less
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jdlrobson: Looks good to me, approved



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 0f07ee6..7486254
--- a/resources/skins.minerva.content.styles/hacks.less
+++ b/resources/skins.minerva.content.styles/hacks.less
@@ -166,3 +166,9 @@
                }
        }
 }
+
+// Hack to assign info boxes properly when using RTL languages on LTR wiki
+[dir='rtl'] .content .infobox {
+       /* @noflip */
+       text-align: left;
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/373286
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1defc994bf128815e3a2f19cda11c439ab2a6cce
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/skins/MinervaNeue
Gerrit-Branch: master
Gerrit-Owner: Eugene233 <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Eugene233 <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Pmiazga <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to