Work around disappearing Special:Preferences buttons on RTL in Edge
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 22 May 2019 19:35:48 +0000 (21:35 +0200)
committerVolkerE <volker.e@wikimedia.org>
Wed, 22 May 2019 20:03:34 +0000 (20:03 +0000)
Bug: T220706
Change-Id: If36dbade88f7594dea658f899f891e800c98529d

resources/src/mediawiki.special.preferences.styles.ooui.less

index 532b9ca..02a0d22 100644 (file)
        padding: 1em 0;
 }
 
+// Support Edge: The `position: sticky` rule above causes the buttons to
+// disappear in RTL languages on Microsoft Edge. This magically fixes the issue. See T220706.
+#preferences {
+       filter: brightness( 1 );
+}
+
 /* This is needed because add extra buttons in a weird way */
 .mw-prefs-buttons .mw-htmlform-submit-buttons {
        display: inline;