Skip to content

Commit

Permalink
Fix loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed Oct 23, 2024
1 parent 9a6d996 commit e29b238
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/block-library/src/cover/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
width: 100%;
z-index: 1;
}

.wp-block-cover__inner-container {
z-index: 2;
}
}

// Shown while media is being uploaded
Expand Down Expand Up @@ -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");
}
}

0 comments on commit e29b238

Please sign in to comment.