Skip to content

Commit

Permalink
Demote the content area's z-index so that popovers in the header sit …
Browse files Browse the repository at this point in the history
…over the content.
  • Loading branch information
ramonjd committed Mar 10, 2022
1 parent 2396f3a commit 2a18443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions packages/edit-site/src/components/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a18443

Please sign in to comment.