Matmarex has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/50183


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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/83/50183/1

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: newchange
Gerrit-Change-Id: I71c2c4cac3269551722b15c533a2d511e1b483d9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Matmarex <[email protected]>

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

Reply via email to