Set min-width on rcfilter dropdown
authorJan Drewniak <jan.drewniak@gmail.com>
Wed, 12 Jun 2019 10:46:32 +0000 (12:46 +0200)
committerJan Drewniak <jan.drewniak@gmail.com>
Wed, 12 Jun 2019 11:00:11 +0000 (13:00 +0200)
Setting a min-width on the body of the rcfilter dropdown menu
prevents it from dropping to width=0 when the browser is
narrower than 650px.

Bug: T225499
Change-Id: I8e7281994af45a52b994fe277fc513db2ae2c4d6

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

index 198c820..70a8163 100644 (file)
@@ -17,6 +17,7 @@
 
        &-body {
                max-height: 70vh;
+               min-width: 100%;
        }
 
        &-footer {