jenkins-bot has submitted this change and it was merged.

Change subject: (bug 45142) dirty RTL CSS hack for Opera
......................................................................


(bug 45142) dirty RTL CSS hack for Opera

For some absolutely inexplicable reason Opera confuses right and left
padding on li#pt-uls a.uls-trigger in RTL mode, causing the text to
overlap an icon. Use a CSS hack to flip the text direction for Opera
only.

Change-Id: I71c2c4cac3269551722b15c533a2d511e1b483d9
---
M resources/css/ext.uls.css
1 file changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Nikerabbit: Looks good to me, but someone else must approve
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/css/ext.uls.css b/resources/css/ext.uls.css
index 564f147..9211522 100644
--- a/resources/css/ext.uls.css
+++ b/resources/css/ext.uls.css
@@ -2,6 +2,14 @@
        padding-left: 30px;
 }
 
+/* Opera for some inexplicable reason confuses right and left padding with */
+/* RTL text direction here (bug 45142). x:-o-prefocus won't match anything, */
+/* but will make other browsers ignore this rule. */
+x:-o-prefocus, body.rtl li#pt-uls {
+  /* @noflip */
+  direction: ltr;
+}
+
 div#settings-block {
        border-top: 1px solid #C9C9C9;
        background: #f8f8f8;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I71c2c4cac3269551722b15c533a2d511e1b483d9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Matmarex <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Pginer <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to