From 8f50c350f2955287e8984d39c9c19cfaf18d747c Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 26 Oct 2016 15:00:36 -0700 Subject: [PATCH] fix(overlay): raise z-index for overlay-container (#1614) --- src/lib/core/style/_variables.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/core/style/_variables.scss b/src/lib/core/style/_variables.scss index b66d335e7abd..130aa10e0ccd 100644 --- a/src/lib/core/style/_variables.scss +++ b/src/lib/core/style/_variables.scss @@ -15,8 +15,12 @@ $z-index-fab: 20 !default; $z-index-drawer: 100 !default; // Overlay z indices. + +// We want overlays to always appear over user content, so set a baseline +// very high z-index for the overlay container, which is where we create the new +// stacking context for all overlays. +$md-z-index-overlay-container: 1000; $md-z-index-overlay: 1000; -$md-z-index-overlay-container: 1; $md-z-index-overlay-backdrop: 1;