Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: New block editor z-index issue. Link options are hidden at the bottom of the page #63809

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $z-layers: (
".interface-complementary-area .components-panel__header": 1, // higher sticky element

".components-modal__header": 10,
".edit-post-layout.has-metaboxes .edit-post-visual-editor": 1, // The popovers contained in visual editor go in front of the metabox container.
".edit-post-meta-boxes-area.is-loading::before": 1,
".edit-post-meta-boxes-area .spinner": 5,
".components-popover__close": 5,
Expand Down
4 changes: 4 additions & 0 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
clear: both;
}

.edit-post-layout.has-metaboxes .edit-post-visual-editor {
z-index: z-index(".edit-post-layout.has-metaboxes .edit-post-visual-editor");
}

// Adjust the position of the notices
.components-editor-notices__snackbar {
position: fixed;
Expand Down
Loading