From 34ade43c2cd2ecac5de60ee76b98e89fe7e09228 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Fri, 17 Jan 2025 10:45:44 +0530 Subject: [PATCH] Base Styles: Update `z-index` for snackbars to ensure proper layering with modals --- packages/base-styles/_z-index.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/base-styles/_z-index.scss b/packages/base-styles/_z-index.scss index af679edb91064..4dbb6274d5b9e 100644 --- a/packages/base-styles/_z-index.scss +++ b/packages/base-styles/_z-index.scss @@ -110,12 +110,12 @@ $z-layers: ( // Below the block toolbar. ".block-editor-grid-visualizer": 30, - // Show snackbars above everything (similar to popovers) - ".components-snackbar-list": 100000, - // Show modal under the wp-admin menus and the popover ".components-modal__screen-overlay": 100000, + // Show snackbars above everything (similar to popovers) + ".components-snackbar-list": 100001, + // Show popovers above wp-admin menus and submenus and sidebar: // #adminmenuwrap { z-index: 9990 } ".components-popover": 1000000,