From e29b238d67fa59af474695e13f3dfb78c52d1a39 Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Wed, 23 Oct 2024 10:47:41 -0300 Subject: [PATCH] Fix loading state --- packages/block-library/src/cover/editor.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/block-library/src/cover/editor.scss b/packages/block-library/src/cover/editor.scss index d7fd0e9c6f744..da5d4be26ac96 100644 --- a/packages/block-library/src/cover/editor.scss +++ b/packages/block-library/src/cover/editor.scss @@ -37,6 +37,10 @@ width: 100%; z-index: 1; } + + .wp-block-cover__inner-container { + z-index: 2; + } } // Shown while media is being uploaded @@ -117,10 +121,3 @@ .color-block-support-panel__inner-wrapper > :not(.block-editor-tools-panel-color-gradient-settings__item) { margin-top: $grid-unit-30; } - -// Backward compatibility for v14 deprecation. -.wp-block-cover:not(.has-no-zindex-in-inner-blocks) { // Shown while media is being uploaded - .components-spinner { - z-index: z-index(".wp-block-cover__inner-container"); - } -}