Skip to content

Commit

Permalink
Revert: Fix/editor content zindex stack context (#39620)
Browse files Browse the repository at this point in the history
* Revert PR 38893

Restores previous `z-index` for editor content area.

Reverts b90f46f.

* Revert PR 39331

Reverts 2a18443.
  • Loading branch information
ironprogrammer authored Mar 22, 2022
1 parent e6574eb commit b24f943
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion packages/edit-site/src/components/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b24f943

Please sign in to comment.