From e5c4e5eecc1cec21654c31cb13a68384eb7122b3 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Mon, 15 Jun 2020 15:54:14 +1000 Subject: [PATCH 1/2] Remove z-index from placeholder fieldset --- packages/components/src/placeholder/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/src/placeholder/style.scss b/packages/components/src/placeholder/style.scss index dddec2d5fe06c..84fa1e20f4ea2 100644 --- a/packages/components/src/placeholder/style.scss +++ b/packages/components/src/placeholder/style.scss @@ -58,7 +58,6 @@ flex-direction: row; width: 100%; flex-wrap: wrap; - z-index: z-index(".components-placeholder__fieldset"); p { font-family: $default-font; From c87364a33db9204ca8b937c96df2896fa32d83d3 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Mon, 15 Jun 2020 16:01:08 +1000 Subject: [PATCH 2/2] Remove z-index variable --- packages/base-styles/_z-index.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss index 15a83bf411df7..d519cbaeff31e 100644 --- a/packages/base-styles/_z-index.scss +++ b/packages/base-styles/_z-index.scss @@ -39,8 +39,6 @@ $z-layers: ( // The draggable element should show up above the entire UI ".components-draggable__clone": 1000000000, - // Should have higher index than the inset/underlay used for dragging - ".components-placeholder__fieldset": 1, ".block-editor-block-list__block .reusable-block-edit-panel *": 1, // Show drop zone above most standard content, but below any overlays