Skip to content

Commit

Permalink
Make VisualEditor a stacking context
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Jun 20, 2024
1 parent 9097405 commit 826b008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/editor/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
height: 100%;
display: block;
background-color: $gray-300;
// Make this a stacking context to contain the z-index of children elements.
isolation: isolate;

// Centralize the editor horizontally (flex-direction is column).
align-items: center;
Expand Down

0 comments on commit 826b008

Please sign in to comment.