From 2a18443909fed3757c8b61b3574d62b437ce5b05 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Thu, 10 Mar 2022 13:39:33 +1100 Subject: [PATCH] Demote the content area's z-index so that popovers in the header sit over the content. --- packages/base-styles/_z-index.scss | 1 + packages/edit-site/src/components/list/style.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss index 457f6bdd229f1..b30aef6ac2cd7 100644 --- a/packages/base-styles/_z-index.scss +++ b/packages/base-styles/_z-index.scss @@ -34,6 +34,7 @@ $z-layers: ( ".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. ".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 0ad240e19f768..21350bd34a0ec 100644 --- a/packages/edit-site/src/components/list/style.scss +++ b/packages/edit-site/src/components/list/style.scss @@ -46,6 +46,7 @@ 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;