Follow-up 873d3c9ff: make RCFilters widget input use interface directionality
authorRoan Kattouw <roan.kattouw@gmail.com>
Thu, 5 Jan 2017 23:08:57 +0000 (15:08 -0800)
committerRoan Kattouw <roan.kattouw@gmail.com>
Thu, 5 Jan 2017 23:10:09 +0000 (15:10 -0800)
MediaWiki has CSS forcing inputs and textareas to use the directionality
of the content language. This normally makes sense, but not for this input.

Change-Id: Ic4d0007e8b177241a86e487fe70c2bf4ca86a520

resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.FilterWrapperWidget.less

index a610e8f..d4d17b8 100644 (file)
        &-search {
                max-width: none;
                margin-top: -0.5em;
+
+               input {
+                       // Make sure this uses the interface direction, not the content direction
+                       direction: ltr;
+               }
        }
 
        &-capsule-invalid-filter {