Skip to content

Commit

Permalink
Make VisualEditor a stacking context (#62681)
Browse files Browse the repository at this point in the history
Co-authored-by: stokesman <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: ellatrix <[email protected]>
  • Loading branch information
5 people authored Jun 25, 2024
1 parent c389980 commit 25aa1b8
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 25aa1b8

Please sign in to comment.