From 7dd7f1ac60cde3743039aedf5d6c30e5b72187e1 Mon Sep 17 00:00:00 2001
From: chrisgarrity <chrisg@media.mit.edu>
Date: Tue, 29 Jan 2019 18:29:32 +0100
Subject: [PATCH] Menus cover monitors

fixes https://github.com/LLK/scratch-www/issues/2587
and https://github.com/LLK/scratch-gui/issues/4428

changed menu-bar z-index to one more than monitors so drop down menus cover monitors when opened.
---
 src/css/z-index.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/css/z-index.css b/src/css/z-index.css
index 93bdc533a..9f48b52aa 100644
--- a/src/css/z-index.css
+++ b/src/css/z-index.css
@@ -5,7 +5,6 @@
 */
 
 /* Toolbox z-index: 40; set in scratch-blocks */
-$z-index-menu-bar: 41;
 $z-index-extension-button: 42;
 $z-index-stage-indicator: 45;
 $z-index-add-button: 46;
@@ -15,6 +14,7 @@ $z-index-monitor: 48; /* monitors go over add buttons */
 
 $z-index-card: 480;
 $z-index-alerts: 490;
+$z-index-menu-bar: 491; /* menu-bar should go over monitors, alerts and tutorials */
 $z-index-loader: 500;
 $z-index-modal: 510;
 
-- 
GitLab