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 <wildworks@git.wordpress.org>
Co-authored-by: stokesman <presstoke@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: Rishit30G <rishit30g@git.wordpress.org>
Co-authored-by: dhananjaykuber <dhananjaykuber@git.wordpress.org>
  • Loading branch information
6 people authored and vcanales committed Sep 4, 2024
1 parent dfaccb8 commit a5b0b61
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 a5b0b61

Please sign in to comment.