From eb1c6b347d4424ac1ff2cafbc029f01318a56f46 Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Thu, 19 Nov 2015 10:46:49 +0000
Subject: [PATCH] Move z-index to the dialog wrapper because that's the
 shallowest positioned element in the DOM and therefore what creates the first
 stacking context

---
 src/skins/vector/css/common.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/skins/vector/css/common.css b/src/skins/vector/css/common.css
index 121fbca7..af651ebf 100644
--- a/src/skins/vector/css/common.css
+++ b/src/skins/vector/css/common.css
@@ -107,11 +107,11 @@ a:visited {
     height: 100%;
     background-color: #000;
     opacity: 0.2;
-    z-index: 4000;
 }
 
 .mx_Dialog_wrapper {
     position: fixed;
+    z-index: 4000;
     top: 0;
     left: 0;
     width: 100%;