Add explanatory comment to unexpected line of code
authorjdlrobson <jdlrobson@gmail.com>
Mon, 5 Aug 2019 18:29:53 +0000 (11:29 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Mon, 5 Aug 2019 18:57:49 +0000 (11:57 -0700)
Bug: T229360
Change-Id: Ia3faab708925c4ea98ebc91cda79ba82ce8524e8

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

index d67739d..2754571 100644 (file)
@@ -44,6 +44,9 @@
                }
 
                &.oo-ui-tagMultiselectWidget-outlined {
                }
 
                &.oo-ui-tagMultiselectWidget-outlined {
+                       // per T177206#4271707 we avoid keeping the collapsed element to take the whole width of the screen
+                       // we are providing enough cues (keeping the labels) for it to be clear that the panel gets compacted
+                       // to the left and the user not to feel lost with the transition.
                        width: unset;
                        max-width: 100%;
                }
                        width: unset;
                        max-width: 100%;
                }