From b0f65a08dffc8675d68d1b6aa5627dda990b2000 Mon Sep 17 00:00:00 2001 From: petarpetkovic Date: Fri, 22 Dec 2017 13:57:41 +0100 Subject: [PATCH] Fix detached RCFilters menu In attempts to fix RCFilters menu overlap with other UI elements when opening upwards, I1fe6b8b2c9 adds `z-index` rule to overlay element. But as part of the same rule, `position: relative` is added which cascades the absolute positioned overlay, causing it to appear in natural flow of document, which causes menu positioning parameters to render the menu detached from RCFilters. Bug: T183442 Change-Id: I3f7db005730d045b2278753cfd655169a96c60a9 --- skinStyles/ooui.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/skinStyles/ooui.less b/skinStyles/ooui.less index e9f5961f3..8749dd9b9 100644 --- a/skinStyles/ooui.less +++ b/skinStyles/ooui.less @@ -1,6 +1,9 @@ .oo-ui-windowManager-modal, -.skin-vector .mw-rcfilters-ui-overlay, .skin-vector .ve-ui-overlay-global { z-index: 101; position: relative; } + +.skin-vector .mw-rcfilters-ui-overlay { + z-index: 101; +}