Skip to content

Commit

Permalink
Update dropdown z-index styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Sep 13, 2021
1 parent cdbbdf0 commit 2b58ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $z-layers: (
".components-popover.edit-widgets-more-menu__content": 99998,
".components-popover.block-editor-rich-text__inline-format-toolbar": 99998,
".components-popover.block-editor-warning__dropdown": 99998,
".components-popover.edit-navigation-header__menu-switcher-dropdown": 99998,
".components-popover.edit-navigation-menu-actions__switcher-dropdown": 99998,

".components-autocomplete__results": 1000000,

Expand Down
10 changes: 5 additions & 5 deletions packages/edit-navigation/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
}
}

.edit-navigation-menu-actions__switcher-dropdown {
// Appear below the modal overlay.
z-index: z-index(".components-popover.edit-navigation-menu-actions__switcher-dropdown");
}

.edit-navigation-header__actions {
display: flex;

Expand All @@ -74,11 +79,6 @@
}
}

.edit-navigation-header__menu-switcher-dropdown {
// Appear below the modal overlay.
z-index: z-index(".components-popover.edit-navigation-header__menu-switcher-dropdown");
}

// Hide notices.
.gutenberg_page_gutenberg-navigation {
.notice,
Expand Down

0 comments on commit 2b58ff5

Please sign in to comment.