RCFilters UI: Override 'list-style' for <li> results
authorMoriel Schottlender <moriel@gmail.com>
Tue, 7 Mar 2017 00:22:45 +0000 (16:22 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Tue, 7 Mar 2017 00:24:58 +0000 (16:24 -0800)
Just in case a wiki defines list-style-image for recent changes
(like in beta labs) we remove it from the general system, so it
does not interfere with highlights.

Bug: T159586
Change-Id: Ic20961efa047d16191b9dd889e390eb29d28ab7d

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

index fcd5f67..c18fe5e 100644 (file)
@@ -7,6 +7,10 @@
                        // Each li's margin-left should be the width of the highlights
                        // element + the margin
                        margin-left: ~'calc( ( @{result-circle-diameter} + @{result-circle-margin} ) * 5 + @{result-circle-general-margin} )';
+
+                       li {
+                               list-style: none;
+                       }
                }
        }