Skip to content

Commit

Permalink
Post Editor: Prevent popover from being hidden by metabox (#63939)
Browse files Browse the repository at this point in the history
* Post Editor: Prevent popover from being hidden by metabox

* Use `.interface-interface-skeleton__content` instead of `.interface-interface-skeleton__body`

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: stokesman <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: Rishit30G <[email protected]>
Co-authored-by: dhananjaykuber <[email protected]>
  • Loading branch information
6 people authored Jul 27, 2024
1 parent 93f80f6 commit 159d01a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/editor/src/components/editor-interface/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
height: $header-height + $border-width;
}

.editor-editor-interface .interface-interface-skeleton__content {
// Make this a stacking context to contain the z-index of children elements.
isolation: isolate;
}

.editor-visual-editor {
flex: 1 0 auto;
}
2 changes: 0 additions & 2 deletions packages/editor/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
position: relative;
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 159d01a

Please sign in to comment.