From b24f9438249e940438c5fb5fdc1116a125ec7f38 Mon Sep 17 00:00:00 2001 From: Brian Alexander <824344+ironprogrammer@users.noreply.github.com> Date: Tue, 22 Mar 2022 02:32:29 -0700 Subject: [PATCH] Revert: Fix/editor content zindex stack context (#39620) * Revert PR 38893 Restores previous `z-index` for editor content area. Reverts b90f46f6911bbeabf3d10a66e388d23ee8bfb47e. * Revert PR 39331 Reverts 2a18443909fed3757c8b61b3574d62b437ce5b05. --- packages/base-styles/_z-index.scss | 3 +-- packages/edit-site/src/components/list/style.scss | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss index 45964db96684fc..54e10b90c95104 100644 --- a/packages/base-styles/_z-index.scss +++ b/packages/base-styles/_z-index.scss @@ -33,8 +33,7 @@ $z-layers: ( ".block-editor-url-input__suggestions": 30, ".edit-post-layout__footer": 30, ".interface-interface-skeleton__header": 30, - ".interface-interface-skeleton__content": 91, - ".edit-site-list.interface-interface-skeleton__content": 29, // The content area needs to be lower than the header so tools dropdowns appear over the content. + ".interface-interface-skeleton__content": 20, ".edit-site-header": 62, ".edit-widgets-header": 30, ".block-library-button__inline-link .block-editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter diff --git a/packages/edit-site/src/components/list/style.scss b/packages/edit-site/src/components/list/style.scss index 21350bd34a0ec1..0ad240e19f768a 100644 --- a/packages/edit-site/src/components/list/style.scss +++ b/packages/edit-site/src/components/list/style.scss @@ -46,7 +46,6 @@ background: $white; align-items: center; padding: $grid-unit-20; - z-index: z-index(".edit-site-list.interface-interface-skeleton__content"); @include break-medium() { padding: $grid-unit * 9;