From 5a0bd5e34e3b1fcc0e0f694acc512466ca72ca3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E6=BE=84=E5=BF=83?= Date: Sun, 16 Jul 2023 10:11:03 +0800 Subject: [PATCH] Fix z-index Bug: T341086 Change-Id: Ic6ce2c99a6b19c18f2134adfb4c607aa90ae43e6 --- resources/ext.CookieWarning/ext.CookieWarning.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/ext.CookieWarning/ext.CookieWarning.less b/resources/ext.CookieWarning/ext.CookieWarning.less index 462871f..a865e10 100644 --- a/resources/ext.CookieWarning/ext.CookieWarning.less +++ b/resources/ext.CookieWarning/ext.CookieWarning.less @@ -1,3 +1,5 @@ +@import 'mediawiki.skin.variables.less'; + .mw-cookiewarning-container { position: fixed; background-color: rgba( 90, 90, 90, 0.85 ); @@ -6,7 +8,7 @@ bottom: 0; left: 0; width: 100%; - z-index: 1999; + z-index: @z-index-overlay; display: flex; justify-content: center;