diff --git a/editor/assets/stylesheets/_z-index.scss b/editor/assets/stylesheets/_z-index.scss index 39c610e1f57f6..24683bbbf42f0 100644 --- a/editor/assets/stylesheets/_z-index.scss +++ b/editor/assets/stylesheets/_z-index.scss @@ -3,7 +3,6 @@ // value is designed to work with). $z-layers: ( - '.editor-mode-switcher .dashicon': -1, '.editor-block-switcher__arrow': 1, '.editor-visual-editor__block:before': -1, '.editor-visual-editor__block {core/image aligned left or right}': 10, diff --git a/editor/header/mode-switcher/index.js b/editor/header/mode-switcher/index.js index a5af46d452ab6..db850a2ffccdd 100644 --- a/editor/header/mode-switcher/index.js +++ b/editor/header/mode-switcher/index.js @@ -40,10 +40,12 @@ function ModeSwitcher( { mode, onSwitch } ) { /* eslint-disable jsx-a11y/no-onchange */ return (
+