From 2b58ff5e64fae4c0f8ca9e461333d01ff1fe6f0d Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Mon, 13 Sep 2021 18:56:05 +0400 Subject: [PATCH] Update dropdown z-index styles --- packages/base-styles/_z-index.scss | 2 +- .../edit-navigation/src/components/header/style.scss | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss index 5b7ddc1a0f0e14..04a58df261194c 100644 --- a/packages/base-styles/_z-index.scss +++ b/packages/base-styles/_z-index.scss @@ -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, diff --git a/packages/edit-navigation/src/components/header/style.scss b/packages/edit-navigation/src/components/header/style.scss index b893e319aba2ab..c387ece852c2cb 100644 --- a/packages/edit-navigation/src/components/header/style.scss +++ b/packages/edit-navigation/src/components/header/style.scss @@ -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; @@ -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,