RCFilters UI: Fix input direction in RTL again
authorRoan Kattouw <roan.kattouw@gmail.com>
Mon, 17 Apr 2017 22:32:58 +0000 (15:32 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Mon, 17 Apr 2017 22:32:58 +0000 (15:32 -0700)
The style rule for this was in a block for &-search,
which doesn't exist any more.

Change-Id: I1d60cd42df173f7f71085c2a3e5d46bd4bf23ef1

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

index 7371fdd..f1b6871 100644 (file)
@@ -1,6 +1,11 @@
 .mw-rcfilters-ui-filterTagMultiselectWidget {
        max-width: none;
 
+       .oo-ui-tagMultiselectWidget-input input {
+               // Make sure this uses the interface direction, not the content direction
+               direction: ltr;
+       }
+
        &.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
                border: 1px solid #a2a9b1;
                border-bottom: 0;
index f52b7ff..dc8b013 100644 (file)
@@ -2,16 +2,4 @@
        width: 100%;
        // Make sure this uses the interface direction, not the content direction
        direction: ltr;
-
-       &-search {
-               max-width: none;
-               margin-top: -1px;
-
-               input {
-                       // We need to reiterate the directionality
-                       // for the input as well to literally override
-                       // a MediaWiki CSS rule that turns it 'ltr'
-                       direction: ltr;
-               }
-       }
 }