From: Moriel Schottlender Date: Sat, 11 Feb 2017 02:37:55 +0000 (-0800) Subject: RCFilters UI: Add 'direction' property to the wrapper X-Git-Tag: 1.31.0-rc.0~3989^2 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=4d250872f3ab683c419c95c9cdfa165c6acd791c;p=lhc%2Fweb%2Fwiklou.git RCFilters UI: Add 'direction' property to the wrapper Adds 'direction: ltr' to the entire interface, rather than just the input, since the entire FilterWrapperWidget is interface-direction and not content direction. Bug: T157189 Change-Id: I94ccfea878d83a24e071696b9c4e58115c9295c9 --- diff --git a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less index 2928102fef..bdc94b34ce 100644 --- a/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less +++ b/resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less @@ -1,5 +1,7 @@ .mw-rcfilters-ui-filterWrapperWidget { width: 100%; + // Make sure this uses the interface direction, not the content direction + direction: ltr; &-popup { // We have to override OOUI's definition, which is set @@ -13,7 +15,9 @@ margin-top: -0.5em; input { - // Make sure this uses the interface direction, not the content direction + // We need to reiterate the directionality + // for the input as well to literally override + // a MediaWiki CSS rule that turns it 'ltr' direction: ltr; } }