Skip to content

Commit

Permalink
Remove redundant z-index
Browse files Browse the repository at this point in the history
Per #5658 (comment), this removes a no-longer-necessary z-index from the map.

It is replaced by a different z-index that applies both for the left and right side UI.

Test that the movers work in nested, normal, and floated contexts.
  • Loading branch information
Joen Asmussen committed Apr 3, 2018
1 parent 096ecec commit 3d425b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion edit-post/assets/stylesheets/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ $z-layers: (
'.components-popover__close': 5,
'.editor-block-list__insertion-point': 5,
'.blocks-format-toolbar__link-modal': 6,
'.editor-block-mover': 1,
'.blocks-gallery-item__inline-menu': 20,
'.editor-block-settings-menu__popover': 20, // Below the header
'.blocks-url-input__suggestions': 30,
Expand Down
1 change: 0 additions & 1 deletion editor/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@
// Left side UI
> .editor-block-mover {
left: -$block-side-ui-width;
z-index: z-index( '.editor-block-mover' );

// Mobile
display: none;
Expand Down

0 comments on commit 3d425b7

Please sign in to comment.