RCFilters: Fix highlighted rows overlapping legend
authorRoan Kattouw <roan.kattouw@gmail.com>
Fri, 2 Nov 2018 21:03:01 +0000 (14:03 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Fri, 2 Nov 2018 21:07:11 +0000 (14:07 -0700)
commit227eed85ed3f6e62122ce37e71491e19c6947934
treec5ccd0ecb8953fc56bdc8b81f2e498e1bccad3e0
parentb19b1874fa73d16af37c8590ae87d9dcc51cd0c8
RCFilters: Fix highlighted rows overlapping legend

While the new rows are being faded in, they each have an opacity not
equal to 1. Setting the opacity on something creates a new stacking
context, and because the rows are below the legend in the DOM, this made
them appear on top of the legend.

Fix this by setting a z-index on the legend so it stays on top.

Bug: T186841
Change-Id: I2eee201d1e0aed94974a85d6d46b86fd4a4db796
resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less