RCFilters: Truncate long saved query titles
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / styles / mw.rcfilters.ui.FilterTagMultiselectWidget.less
index 7ee601f..f3e1351 100644 (file)
@@ -16,7 +16,7 @@
                background-color: #f8f9fa;
                border-radius: 2px 2px 0 0;
                padding: 0.6em;
-               margin-top: 1.6em;
+               margin-top: 1em;
        }
 
        .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled &-animate.oo-ui-tagMultiselectWidget-handle {
                                color: #222; // Base10
                                font-weight: bold;
                                margin-left: 1em;
+                               width: ~'calc( 100% - 10em )';
+                               overflow: hidden;
+                               text-overflow: ellipsis;
+                               white-space: nowrap;
                        }
                }
        }
@@ -70,6 +74,9 @@
                                        margin-left: 0;
                                }
 
+                               .oo-ui-labelElement.oo-ui-optionWidget.oo-ui-buttonElement:first-child {
+                                       margin-left: 0;
+                               }
                        }
                }
        }