Skip to content

Commit 3b1cd67

Browse files
bendmancatarak
authored andcommitted
Fixes processing#682 by isolating preview pane layers (processing#683)
Restrict the z-index of the console (and any other preview panes) to the context of the preview container, thereby preventing any internal content from overlaying a modal. `z-index:0` is used as a more browser-compliant form of `isolation:isolate` or `contain:paint` to create an isolated stacking context.
1 parent 2f21130 commit 3b1cd67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/styles/layout/_ide.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
flex: 1 0 0px;
1515
display: flex;
1616
position: relative;
17+
18+
// create a stacking context to isolate z-index layering
19+
z-index: 0;
1720
}
1821

1922
.editor-console-container {

0 commit comments

Comments
 (0)