RCFilters UI: Adjust filter list header elements' alignment
authorMoriel Schottlender <moriel@gmail.com>
Thu, 16 Mar 2017 18:34:33 +0000 (11:34 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Thu, 16 Mar 2017 18:34:33 +0000 (11:34 -0700)
Bug: T160601
Change-Id: I89d3f9c59ef49e3c3dfdda1af8676855d3b9ac7b

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

index 3334d84..cb87989 100644 (file)
@@ -1,7 +1,7 @@
 .mw-rcfilters-ui-filtersListWidget {
        &-title {
                font-size: 1.2em;
-               padding: 0.75em;
+               padding: 0.75em 0.5em;
                // TODO: Unify colors with official design palette
                color: #54595d;
        }
                &-highlight {
                        width: 1em;
                        vertical-align: middle;
+                       // Using the same padding that the filter item
+                       // uses, so the button is aligned with the highlight
+                       // buttons for the filters
+                       padding-right: 0.5em;
                }
 
                &-title {