Skip to content

Commit

Permalink
Base Styles: Update z-index for snackbars to ensure proper layering…
Browse files Browse the repository at this point in the history
… with modals
  • Loading branch information
yogeshbhutkar committed Jan 17, 2025
1 parent 5688333 commit 34ade43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/base-styles/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 34ade43

Please sign in to comment.