Skip to content

Commit 8f50c35

Browse files
authored
fix(overlay): raise z-index for overlay-container (#1614)
1 parent 783dbb3 commit 8f50c35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/core/style/_variables.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ $z-index-fab: 20 !default;
1515
$z-index-drawer: 100 !default;
1616

1717
// Overlay z indices.
18+
19+
// We want overlays to always appear over user content, so set a baseline
20+
// very high z-index for the overlay container, which is where we create the new
21+
// stacking context for all overlays.
22+
$md-z-index-overlay-container: 1000;
1823
$md-z-index-overlay: 1000;
19-
$md-z-index-overlay-container: 1;
2024
$md-z-index-overlay-backdrop: 1;
2125

2226

0 commit comments

Comments
 (0)